mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
add missing skipFailedRequests as option
This commit is contained in:
Vendored
+1
@@ -24,6 +24,7 @@ declare namespace RateLimit {
|
||||
max?: number;
|
||||
message?: string;
|
||||
skip?(req: express.Request, res: express.Response): boolean;
|
||||
skipFailedRequests?: boolean;
|
||||
statusCode?: number;
|
||||
store?: Store;
|
||||
onLimitReached?(req: express.Request, res: express.Response, optionsUsed: Options): void;
|
||||
|
||||
Reference in New Issue
Block a user