Skip to content

Commit

Permalink
fix: remove duplicate string in union type RequestMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
psibean committed Dec 16, 2023
1 parent 8ecaf7f commit 48833b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ export type RequestMethod =
| "DELETE"
| "CONNECT"
| "OPTIONS"
| "TRACE"
| "PATCH";
| "TRACE";
export type CsrfIgnoredMethods = Array<RequestMethod>;
export type CsrfRequestValidator = (req: Request) => boolean;
export type CsrfTokenAndHashPairValidator = (
Expand Down

0 comments on commit 48833b1

Please sign in to comment.