fix(Typings): Channel#delete returns bad type (#4118)

This commit is contained in:
tiehm
2020-08-11 20:58:12 +02:00
committed by GitHub
parent e54c21bc65
commit 3df99930e8

4
typings/index.d.ts vendored
View File

@@ -158,8 +158,8 @@ declare module 'discord.js' {
public deleted: boolean;
public id: Snowflake;
public type: keyof typeof ChannelType;
public delete(reason?: string): Promise<this>;
public fetch(): Promise<this>;
public delete(reason?: string): Promise<Channel>;
public fetch(): Promise<Channel>;
public toString(): string;
}