mirror of
https://github.com/danbulant/discord.js
synced 2026-05-29 20:30:38 +00:00
fix(Typings): Channel#delete returns bad type (#4118)
This commit is contained in:
parent
e54c21bc65
commit
3df99930e8
1 changed files with 2 additions and 2 deletions
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue