docs(Message): add NewsChannel type to Message#channel (#4680)

This commit is contained in:
Jan
2020-08-11 20:53:29 +02:00
committed by GitHub
parent c55b5c8c19
commit b0e53e9c6d
2 changed files with 3 additions and 3 deletions

2
typings/index.d.ts vendored
View File

@@ -929,7 +929,7 @@ declare module 'discord.js' {
}
export class Message extends Base {
constructor(client: Client, data: object, channel: TextChannel | DMChannel);
constructor(client: Client, data: object, channel: TextChannel | DMChannel | NewsChannel);
private _edits: Message[];
private patch(data: object): void;