types(Options): should extend null (#6042)

Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
BannerBomb
2021-07-04 17:05:16 -04:00
committed by GitHub
parent 185e37602b
commit c4aa9feee2

3
typings/index.d.ts vendored
View File

@@ -509,7 +509,8 @@ declare module 'discord.js' {
public setUsername(username: string): Promise<this>;
}
export class Options {
export class Options extends null {
private constructor();
public static createDefaultOptions(): ClientOptions;
public static cacheWithLimits(limits?: Record<string, number>): CacheFactory;
public static cacheEverything(): CacheFactory;