mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(typings): GuildChannel#parent and #parentID are nullable (#3509)
This commit is contained in:
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
@@ -625,8 +625,8 @@ declare module 'discord.js' {
|
||||
public readonly messageNotifications: GuildChannelMessageNotifications;
|
||||
public readonly muted: boolean;
|
||||
public name: string;
|
||||
public readonly parent: CategoryChannel;
|
||||
public parentID: Snowflake;
|
||||
public readonly parent: CategoryChannel | null;
|
||||
public parentID: Snowflake | null;
|
||||
public permissionOverwrites: Collection<Snowflake, PermissionOverwrites>;
|
||||
public position: number;
|
||||
public clone(name?: string, withPermissions?: boolean, withTopic?: boolean, reason?: string): Promise<GuildChannel>;
|
||||
|
||||
Reference in New Issue
Block a user