mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
typings(Invite): channel can be a PartialGroupDMChannel (#3823)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user