From 6843bdf1aa2a89a16c202ffe191d5254df22d63d Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Fri, 18 Aug 2023 03:08:58 +0100 Subject: [PATCH] test: add more tests --- packages/discord.js/typings/index.test-d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/discord.js/typings/index.test-d.ts b/packages/discord.js/typings/index.test-d.ts index 7ffbdacf8062..b372e21db1f7 100644 --- a/packages/discord.js/typings/index.test-d.ts +++ b/packages/discord.js/typings/index.test-d.ts @@ -1319,8 +1319,8 @@ declare const user: User; declare const guildMember: GuildMember; // Test thread channels' parent inference -expectType(threadChannel.parent); -expectType(threadChannelFromForum.parent); +expectType(threadChannel.parent); +expectType(threadChannelFromForum.parent); expectType(threadChannelNotFromForum.parent); // Test whether the structures implement send @@ -1600,7 +1600,7 @@ declare const threadManager: ThreadManager; } declare const guildForumThreadManager: GuildForumThreadManager; -expectType(guildForumThreadManager.channel); +expectType(guildForumThreadManager.channel); declare const guildTextThreadManager: GuildTextThreadManager< ChannelType.PublicThread | ChannelType.PrivateThread | ChannelType.AnnouncementThread @@ -2113,7 +2113,7 @@ expectType< >(TextBasedChannelTypes); expectType(VoiceBasedChannel); expectType(GuildBasedChannel); -expectType( +expectType( NonThreadGuildBasedChannel, ); expectType(GuildTextBasedChannel);