mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
fix(types)!: channel is nullable (#1844)
Convert Invite#channel to a nullable property
This commit is contained in:
@@ -13,7 +13,7 @@ export interface Invite {
|
||||
/** The guild this invite is for */
|
||||
guild?: Partial<Guild>;
|
||||
/** The channel this invite is for */
|
||||
channel: Partial<Channel>;
|
||||
channel: Partial<Channel> | null;
|
||||
/** The user who created the invite */
|
||||
inviter?: User;
|
||||
/** The type of target for this voice channel invite */
|
||||
|
||||
Reference in New Issue
Block a user