Skip to content
Snippets Groups Projects
Commit 73829214 authored by Aaron Dötsch's avatar Aaron Dötsch
Browse files

Fix typing in ratelimit.js

parent 346ebd5e
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* @property {number} lastRefill The timestamp of the last refill * @property {number} lastRefill The timestamp of the last refill
*/ */
/** /**
* @typedef {...(SlidingWindowRateLimiter|TokenBucketRateLimiter|AllOrNothingRateLimiter|BurstyRateLimiter)} RateLimiterList * @typedef {(SlidingWindowRateLimiter|TokenBucketRateLimiter|AllOrNothingRateLimiter|BurstyRateLimiter)[]} RateLimiterList
*/ */
export class SlidingWindowRateLimiter { export class SlidingWindowRateLimiter {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment