change returns to null

This commit is contained in:
TheDevYellowy 2022-08-01 09:57:56 -05:00
parent c9d9b3cf7f
commit 6028e2a63d

2
typings/index.d.ts vendored
View File

@ -337,7 +337,7 @@ export abstract class Application extends Base {
public coverURL(options?: StaticImageURLOptions): string | null; public coverURL(options?: StaticImageURLOptions): string | null;
/** @deprecated This method is deprecated as it is unsupported and will be removed in the next major version. */ /** @deprecated This method is deprecated as it is unsupported and will be removed in the next major version. */
public fetchAssets(): Promise<ApplicationAsset[]>; public fetchAssets(): Promise<ApplicationAsset[]>;
public invite(guildID: string, permissions: number, captcha: string): Promise<ClientApplication>; public invite(guildID: string, permissions: number, captcha: string): null;
public iconURL(options?: StaticImageURLOptions): string | null; public iconURL(options?: StaticImageURLOptions): string | null;
public toJSON(): unknown; public toJSON(): unknown;
public toString(): string | null; public toString(): string | null;