mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
typings(Invite): channel can be a PartialGroupDMChannel (#3823)
This commit is contained in:
parent
4ec01ddef5
commit
28490e84b0
1 changed files with 1 additions and 1 deletions
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue