fix(APIInvite): channel is not optional (#123)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Advaith
2021-04-18 00:33:32 -07:00
committed by GitHub
parent d6fb271df8
commit abe05136fd
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export interface APIInvite {
*
* See https://discord.com/developers/docs/resources/channel#channel-object
*/
channel?: Required<APIPartialChannel>;
channel: Required<APIPartialChannel>;
/**
* The user who created the invite
*

View File

@@ -26,7 +26,7 @@ export interface APIInvite {
*
* See https://discord.com/developers/docs/resources/channel#channel-object
*/
channel?: Required<APIPartialChannel>;
channel: Required<APIPartialChannel>;
/**
* The user who created the invite
*