mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +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 deleted: boolean;
|
||||||
public id: Snowflake;
|
public id: Snowflake;
|
||||||
public type: keyof typeof ChannelType;
|
public type: keyof typeof ChannelType;
|
||||||
public delete(reason?: string): Promise<this>;
|
public delete(reason?: string): Promise<Channel>;
|
||||||
public fetch(): Promise<this>;
|
public fetch(): Promise<Channel>;
|
||||||
public toString(): string;
|
public toString(): string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user