mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +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;
|
public resolveIdentifier(emoji: EmojiIdentifierResolvable): string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export class CategoryChannelChildManager extends DataManager<
|
export class CategoryChannelChildManager extends DataManager<Snowflake, CategoryChildChannel, GuildChannelResolvable> {
|
||||||
Snowflake,
|
|
||||||
NonCategoryGuildBasedChannel,
|
|
||||||
GuildChannelResolvable
|
|
||||||
> {
|
|
||||||
private constructor(channel: CategoryChannel);
|
private constructor(channel: CategoryChannel);
|
||||||
|
|
||||||
public 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 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>;
|
export type NonThreadGuildBasedChannel = Exclude<GuildBasedChannel, AnyThreadChannel>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user