mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(Typings): Channel#delete returns bad type (#4118)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user