Skip to content

Commit

Permalink
remove undefined from algorhitms fix #285
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed May 2, 2022
1 parent 8d826f0 commit 587238b
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 @@ -19,7 +19,7 @@ type Params = {
isRevoked?: IsRevoked,
credentialsRequired?: boolean,
requestProperty?: string,
algorithms: jwt.Algorithm[] | undefined;
algorithms: jwt.Algorithm[];
} & jwt.VerifyOptions;

export { UnauthorizedError } from './errors/UnauthorizedError';
Expand Down

0 comments on commit 587238b

Please sign in to comment.