From 28490e84b069fcab660c9158d27931e9b013209f Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Mon, 24 Feb 2020 09:41:29 +0000 Subject: [PATCH] typings(Invite): channel can be a PartialGroupDMChannel (#3823) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 3a046059a..54a04853c 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;