Skip to content

Commit

Permalink
fix(APIGuildChannel): make position of guild channel non optional (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnyTheCarrot committed Nov 20, 2022
1 parent f91e10f commit 9d72e82
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T
/**
* Sorting position of the channel
*/
position?: number;
position: number;
/**
* ID of the parent category for a channel (each parent category can contain up to 50 channels)
*
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v8/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T
/**
* Sorting position of the channel
*/
position?: number;
position: number;
/**
* ID of the parent category for a channel (each parent category can contain up to 50 channels)
*/
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T
/**
* Sorting position of the channel
*/
position?: number;
position: number;
/**
* ID of the parent category for a channel (each parent category can contain up to 50 channels)
*
Expand Down
2 changes: 1 addition & 1 deletion payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T
/**
* Sorting position of the channel
*/
position?: number;
position: number;
/**
* ID of the parent category for a channel (each parent category can contain up to 50 channels)
*
Expand Down
2 changes: 1 addition & 1 deletion payloads/v8/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T
/**
* Sorting position of the channel
*/
position?: number;
position: number;
/**
* ID of the parent category for a channel (each parent category can contain up to 50 channels)
*/
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface APIGuildChannel<T extends ChannelType> extends APIChannelBase<T
/**
* Sorting position of the channel
*/
position?: number;
position: number;
/**
* ID of the parent category for a channel (each parent category can contain up to 50 channels)
*
Expand Down

1 comment on commit 9d72e82

@vercel
Copy link

@vercel vercel bot commented on 9d72e82 Nov 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.