Skip to content

Commit 5aec90f

Browse files
committed
added new type for a RedisLog
1 parent 2d78a58 commit 5aec90f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/@types/rateLimit.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export interface RedisWindow {
2929
fixedWindowStart: number;
3030
}
3131

32+
export type RedisLog = RedisBucket[];
33+
3234
export type RateLimiterSelection =
3335
| 'TOKEN_BUCKET'
3436
| 'LEAKY_BUCKET'

0 commit comments

Comments
 (0)