types(CategoryChannelChildManager): fix Holds type (#8288)

This commit is contained in:
Rodry
2022-07-17 20:12:22 +01:00
committed by GitHub
parent edf83f02ea
commit 33a7a5cbdc

View File

@@ -3284,11 +3284,7 @@ export class BaseGuildEmojiManager extends CachedManager<Snowflake, GuildEmoji,
public resolveIdentifier(emoji: EmojiIdentifierResolvable): string | null;
}
export class CategoryChannelChildManager extends DataManager<
Snowflake,
NonCategoryGuildBasedChannel,
GuildChannelResolvable
> {
export class CategoryChannelChildManager extends DataManager<Snowflake, CategoryChildChannel, GuildChannelResolvable> {
private constructor(channel: CategoryChannel);
public channel: CategoryChannel;
@@ -5436,7 +5432,7 @@ export type VoiceBasedChannel = Extract<Channel, { bitrate: number }>;
export type GuildBasedChannel = Extract<Channel, { guild: Guild }>;
export type NonCategoryGuildBasedChannel = Exclude<GuildBasedChannel, CategoryChannel>;
export type CategoryChildChannel = Exclude<Extract<Channel, { parent: CategoryChannel | null }>, CategoryChannel>;
export type NonThreadGuildBasedChannel = Exclude<GuildBasedChannel, AnyThreadChannel>;