mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
types(Options): should extend null (#6042)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user