mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(CategoryChannelChildManager): fix Holds type (#8288)
This commit is contained in:
8
packages/discord.js/typings/index.d.ts
vendored
8
packages/discord.js/typings/index.d.ts
vendored
@@ -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>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user