Skip to content

Commit

Permalink
chore: add missing todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
didinele committed Oct 28, 2022
1 parent aecbc03 commit 85a6cc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2423,6 +2423,9 @@ export class ChannelSelectMenuInteraction<
public inRawGuild(): this is ChannelSelectMenuInteraction<'raw'>;
}

// Ideally this should be named SelectMenuInteraction, but that's the name of the "old" StringSelectMenuInteraction, meaning
// the type name is reserved as a re-export to prevent a breaking change from being made, as such:
// TODO: Rename this to SelectMenuInteraction in the next major
export type AnySelectMenuInteraction<Cached extends CacheType = CacheType> =
| StringSelectMenuInteraction<Cached>
| UserSelectMenuInteraction<Cached>
Expand Down

0 comments on commit 85a6cc1

Please sign in to comment.