We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fe372b commit 9ff681aCopy full SHA for 9ff681a
index.d.ts
@@ -73,7 +73,7 @@ declare namespace JwksRsa {
73
/** Types from express-jwt@>=7 */
74
type GetVerificationKey = (req: Express.Request, token: Jwt | undefined) => Secret | undefined | Promise<Secret | undefined>;
75
76
- function expressJwtSecret(options: ExpressJwtOptions): SecretCallbackLong|GetVerificationKey;
+ function expressJwtSecret(options: ExpressJwtOptions): SecretCallbackLong & GetVerificationKey;
77
78
function passportJwtSecret(options: ExpressJwtOptions): SecretCallback;
79
0 commit comments