diff --git a/types/fast-ratelimit/fast-ratelimit-tests.ts b/types/fast-ratelimit/fast-ratelimit-tests.ts index c0e8793a2f..d5c7467b11 100644 --- a/types/fast-ratelimit/fast-ratelimit-tests.ts +++ b/types/fast-ratelimit/fast-ratelimit-tests.ts @@ -7,11 +7,11 @@ const limit = new FastRateLimit({ // $type: FastRateLimit const someNamespace = 'some-namespace'; -const consume = limit.consume(someNamespace); // $type: Promise +const consume = limit.consume(someNamespace); // $type: Promise consume.then(() => {}); // User can send message. consume.catch(() => {}); // Use cannot send message. -const hasToken = limit.hasToken(someNamespace); // $type: Promise +const hasToken = limit.hasToken(someNamespace); // $type: Promise consume.then(() => {}); // User has remaining token. consume.catch(() => {}); // User does not have remaining token.