Skip to content

Commit dbe0804

Browse files
authored
Merge branch 'master' into compat-2
2 parents d98e972 + aff09ba commit dbe0804

File tree

2 files changed

+57
-67
lines changed

2 files changed

+57
-67
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ declare namespace JwksRsa {
7373
/** Types from express-jwt@>=7 */
7474
type GetVerificationKey = (req: Express.Request, token: Jwt | undefined) => Secret | undefined | Promise<Secret | undefined>;
7575

76-
function expressJwtSecret(options: ExpressJwtOptions): SecretCallbackLong|GetVerificationKey;
76+
function expressJwtSecret(options: ExpressJwtOptions): SecretCallbackLong & GetVerificationKey;
7777

7878
function passportJwtSecret(options: ExpressJwtOptions): SecretCallback;
7979

package-lock.json

Lines changed: 56 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)