diff --git a/index.d.ts b/index.d.ts index 652f98b..6c97d66 100644 --- a/index.d.ts +++ b/index.d.ts @@ -73,7 +73,7 @@ declare namespace JwksRsa { /** Types from express-jwt@>=7 */ type GetVerificationKey = (req: Express.Request, token: Jwt | undefined) => Secret | undefined | Promise; - function expressJwtSecret(options: ExpressJwtOptions): SecretCallbackLong|GetVerificationKey; + function expressJwtSecret(options: ExpressJwtOptions): SecretCallbackLong & GetVerificationKey; function passportJwtSecret(options: ExpressJwtOptions): SecretCallback;