From dda74f7882785143198ed5f7202f221795bc76ea Mon Sep 17 00:00:00 2001 From: JustEvil <71156616+EvilG-MC@users.noreply.github.com> Date: Sat, 25 Jan 2025 19:37:50 -0600 Subject: [PATCH] fix: removed another 'ts-expect-error'...? (#326) --- src/builders/SelectMenu.ts | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/builders/SelectMenu.ts b/src/builders/SelectMenu.ts index 8990594..a31e4b5 100644 --- a/src/builders/SelectMenu.ts +++ b/src/builders/SelectMenu.ts @@ -1,12 +1,5 @@ import type { EmojiResolvable, RestOrArray } from '../common'; import { resolvePartialEmoji } from '../common/it/utils'; -import type { - ChannelSelectMenuInteraction, - ComponentInteraction, - MentionableSelectMenuInteraction, - RoleSelectMenuInteraction, - UserSelectMenuInteraction, -} from '../structures'; import { type APIChannelSelectComponent, type APIMentionableSelectComponent, @@ -49,14 +42,12 @@ function mappedDefault( * @template Select - The type of APISelectMenuComponent. * @template Interaction - The type of interaction. * @example - * const selectMenu = new SelectMenu(); + * const selectMenu = new SelectMenu(); * selectMenu.setCustomId("user-select-menu"); * selectMenu.setPlaceholder("Select a user"); */ export class SelectMenu< Select extends APISelectMenuComponent = APISelectMenuComponent, - //@ts-expect-error - Interaction = ComponentInteraction, > extends BaseComponentBuilder