mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 17:52:55 +00:00
fix(typings): GuildChannel#parent and #parentID are nullable (#3509)
This commit is contained in:
parent
505df2ebb3
commit
2a78b00454
1 changed files with 2 additions and 2 deletions
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>;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue