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.
2 parents 3011153 + 2d4206c commit 879a132Copy full SHA for 879a132
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