Skip to content

Commit

Permalink
types: adjust channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Nov 12, 2023
1 parent fa4833c commit de41e95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/discord.js/src/util/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function parseWebhookURL(url) {
* @typedef {Object} SupportingInteractionResolvedData
* @property {Client} client The client
* @property {Guild} [guild] A guild
* @property {BaseChannel} [channel] A channel
* @property {GuildTextBasedChannel} [channel] A channel
* @private
*/

Expand Down
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6368,7 +6368,7 @@ export interface StageInstanceEditOptions {
export interface SupportingInteractionResolvedData {
client: Client;
guild?: Guild;
channel?: Channel;
channel?: GuildTextBasedChannel;
}

export type SweeperKey = keyof SweeperDefinitions;
Expand Down

0 comments on commit de41e95

Please sign in to comment.