v2.6
Don't use: The types are incorrect.
Make verify
accept an optional type argument for Payload
const payload = await verify<{foo: string}>(jwt, key); // { foo: "bar" }
Don't use: The types are incorrect.
Make verify
accept an optional type argument for Payload
const payload = await verify<{foo: string}>(jwt, key); // { foo: "bar" }