mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +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 messageNotifications: GuildChannelMessageNotifications;
|
||||||
public readonly muted: boolean;
|
public readonly muted: boolean;
|
||||||
public name: string;
|
public name: string;
|
||||||
public readonly parent: CategoryChannel;
|
public readonly parent: CategoryChannel | null;
|
||||||
public parentID: Snowflake;
|
public parentID: Snowflake | null;
|
||||||
public permissionOverwrites: Collection<Snowflake, PermissionOverwrites>;
|
public permissionOverwrites: Collection<Snowflake, PermissionOverwrites>;
|
||||||
public position: number;
|
public position: number;
|
||||||
public clone(name?: string, withPermissions?: boolean, withTopic?: boolean, reason?: string): Promise<GuildChannel>;
|
public clone(name?: string, withPermissions?: boolean, withTopic?: boolean, reason?: string): Promise<GuildChannel>;
|
||||||
|
|||||||
Reference in New Issue
Block a user