Skip to content

Commit ac8a62b

Browse files
committed
fix: remove duplicate tests
1 parent 7766c7d commit ac8a62b

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

packages/discord.js/typings/index.test-d.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,26 +1508,6 @@ declare const applicationCommandSubGroup: ApplicationCommandSubGroup;
15081508
applicationCommandSubGroup.options = [] as const;
15091509
}
15101510

1511-
declare const userContextMenuCommandInteraction: UserContextMenuCommandInteraction;
1512-
{
1513-
expectType<User | null>(userContextMenuCommandInteraction.options.getUser('useroption'));
1514-
expectType<User>(userContextMenuCommandInteraction.options.getUser('useroption', true));
1515-
expectType<GuildMember | APIInteractionDataResolvedGuildMember | null>(
1516-
userContextMenuCommandInteraction.options.getMember('useroption'),
1517-
);
1518-
if (userContextMenuCommandInteraction.inCachedGuild()) {
1519-
expectType<GuildMember | null>(userContextMenuCommandInteraction.options.getMember('useroption'));
1520-
}
1521-
}
1522-
1523-
declare const messageContextMenuCommandInteraction: MessageContextMenuCommandInteraction;
1524-
{
1525-
expectType<Message>(messageContextMenuCommandInteraction.options.getMessage('message', true));
1526-
expectType<GuildMember | APIInteractionDataResolvedGuildMember | null>(
1527-
userContextMenuCommandInteraction.options.getMember('useroption'),
1528-
);
1529-
}
1530-
15311511
declare const autoModerationRuleManager: AutoModerationRuleManager;
15321512
{
15331513
expectType<Promise<AutoModerationRule>>(autoModerationRuleManager.fetch('1234567890'));

0 commit comments

Comments
 (0)