From b752bb758868b5f82d74234befa82d6eb66a8bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Vatle?= Date: Thu, 4 Apr 2019 23:27:46 +0300 Subject: [PATCH] Correct linting issues with fast-ratelimit index.d.ts. --- types/fast-ratelimit/index.d.ts | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/types/fast-ratelimit/index.d.ts b/types/fast-ratelimit/index.d.ts index b6a586b7ea..b9962d5b57 100644 --- a/types/fast-ratelimit/index.d.ts +++ b/types/fast-ratelimit/index.d.ts @@ -21,33 +21,21 @@ export class FastRateLimit { /** * FastRateLimit.prototype.consumeSync - * @public - * @param {string} namespace - * @return {boolean} Whether tokens remain in current timespan or not */ consumeSync(namespace: string): boolean; /** * FastRateLimit.prototype.hasTokenSync - * @public - * @param {string} namespace - * @return {boolean} Whether tokens remain in current timespan or not */ hasTokenSync(namespace: string): boolean; /** * FastRateLimit.prototype.consume - * @public - * @param {string} namespace - * @return {object} Promise object */ - consume(namespace: string): Promise + consume(namespace: string): Promise; /** * FastRateLimit.prototype.hasToken - * @public - * @param {string} namespace - * @return {object} Promise object */ - hasToken(namespace: string): Promise -} \ No newline at end of file + hasToken(namespace: string): Promise; +}