mirror of
https://github.com/danbulant/discord.js
synced 2026-05-29 20:30:38 +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 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>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue