Skip to content

Commit 8307313

Browse files
authored
fix(types): use the correct channel parent type (#232)
1 parent cbf5d4e commit 8307313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/parsers/Args.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export interface ArgType {
694694
guildCategoryChannel: CategoryChannel;
695695
guildChannel: GuildChannel | ThreadChannel;
696696
guildNewsChannel: NewsChannel;
697-
guildNewsThreadChannel: ThreadChannel & { type: 'GUILD_NEWS_THREAD'; parent: TextChannel | null };
697+
guildNewsThreadChannel: ThreadChannel & { type: 'GUILD_NEWS_THREAD'; parent: NewsChannel | null };
698698
guildPrivateThreadChannel: ThreadChannel & { type: 'GUILD_PRIVATE_THREAD'; parent: TextChannel | null };
699699
guildPublicThreadChannel: ThreadChannel & { type: 'GUILD_PUBLIC_THREAD'; parent: TextChannel | null };
700700
guildStageVoiceChannel: StageChannel;

0 commit comments

Comments
 (0)