mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
test: Remove unused test (#10638)
test: remove unused test Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2002,8 +2002,6 @@ client.on('interactionCreate', async interaction => {
|
|||||||
);
|
);
|
||||||
expectType<MediaChannel>(interaction.options.getChannel('test', true, [ChannelType.GuildMedia]));
|
expectType<MediaChannel>(interaction.options.getChannel('test', true, [ChannelType.GuildMedia]));
|
||||||
} else {
|
} else {
|
||||||
// @ts-expect-error
|
|
||||||
consumeCachedCommand(interaction);
|
|
||||||
expectType<ChatInputCommandInteraction>(interaction);
|
expectType<ChatInputCommandInteraction>(interaction);
|
||||||
expectType<Promise<InteractionCallbackResponse>>(interaction.reply({ withResponse: true }));
|
expectType<Promise<InteractionCallbackResponse>>(interaction.reply({ withResponse: true }));
|
||||||
expectType<APIInteractionDataResolvedGuildMember | GuildMember | null>(interaction.options.getMember('test'));
|
expectType<APIInteractionDataResolvedGuildMember | GuildMember | null>(interaction.options.getMember('test'));
|
||||||
|
|||||||
Reference in New Issue
Block a user