typings(Invite): channel can be a PartialGroupDMChannel (#3823)

This commit is contained in:
Sugden
2020-02-24 10:41:29 +01:00
committed by GitHub
parent 4ec01ddef5
commit 28490e84b0
+1 -1
View File
@@ -931,7 +931,7 @@ declare module 'discord.js' {
export class Invite extends Base {
constructor(client: Client, data: object);
public channel: GuildChannel;
public channel: GuildChannel | PartialGroupDMChannel;
public code: string;
public readonly deletable: boolean;
public readonly createdAt: Date | null;