Closed timonson closed 2 years ago
Make verify accept a generic type argument for Payload
verify
Payload
const payload = await verify<{foo: string}>(jwt, key); // { foo: "bar" }
Make
verify
accept a generic type argument forPayload