fix(types)!: channel is nullable (#1844)

Convert Invite#channel to a nullable property
This commit is contained in:
ITOH
2021-12-13 17:23:50 +01:00
committed by GitHub

View File

@@ -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 */