From c4aa9feee238db453c87cb66e054922a8302c355 Mon Sep 17 00:00:00 2001 From: BannerBomb Date: Sun, 4 Jul 2021 17:05:16 -0400 Subject: [PATCH] types(Options): should extend null (#6042) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Antonio Román --- typings/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index e2964a20d..44a4fd105 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -509,7 +509,8 @@ declare module 'discord.js' { public setUsername(username: string): Promise; } - export class Options { + export class Options extends null { + private constructor(); public static createDefaultOptions(): ClientOptions; public static cacheWithLimits(limits?: Record): CacheFactory; public static cacheEverything(): CacheFactory;