Skip to content

Commit

Permalink
feat: export middleware options type. closes #308
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliyazvinski authored and jfromaniello committed Dec 22, 2022
1 parent c69a0e4 commit 25a30f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export type IsRevoked = (req: express.Request, token: jwt.Jwt | undefined) => bo
*/
export type TokenGetter = (req: express.Request) => string | Promise<string> | undefined;

type Params = {
export type Params = {
/**
* The Key or a function to retrieve the key used to verify the JWT.
*/
Expand Down

0 comments on commit 25a30f0

Please sign in to comment.