Skip to content

Commit

Permalink
fix(ApiMessage): remove resolve() from typings (#5241)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranet committed Jan 27, 2021
1 parent aaed72b commit a6bc39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -55,6 +55,7 @@ declare module 'discord.js' {
public data: object | null;
public readonly isUser: boolean;
public readonly isWebhook: boolean;
public readonly isMessage: boolean;
public files: object[] | null;
public options: MessageOptions | WebhookMessageOptions;
public target: MessageTarget;
Expand Down Expand Up @@ -89,7 +90,6 @@ declare module 'discord.js' {
): MessageOptions | WebhookMessageOptions;

public makeContent(): string | string[] | undefined;
public resolve(): Promise<this>;
public resolveData(): this;
public resolveFiles(): Promise<this>;
public split(): APIMessage[];
Expand Down

0 comments on commit a6bc39d

Please sign in to comment.