We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df525b commit 4037b64Copy full SHA for 4037b64
src/@types/rateLimit.d.ts
@@ -25,8 +25,7 @@ export interface RedisBucket {
25
}
26
export interface RedisWindow {
27
currentTokens: number;
28
- // null if limiter is currently on the initial fixed window
29
- previousTokens?: number | null;
+ previousTokens?: number;
30
fixedWindowStart: number;
31
32
0 commit comments