fix(GuildChannel): make setTopic argument nullable (#4875)

This commit is contained in:
yuta0801
2020-10-17 22:32:32 +09:00
committed by GitHub
parent d2341654fe
commit b9ad51049e
2 changed files with 2 additions and 2 deletions

2
typings/index.d.ts vendored
View File

@@ -821,7 +821,7 @@ declare module 'discord.js' {
options?: { lockPermissions?: boolean; reason?: string },
): Promise<this>;
public setPosition(position: number, options?: { relative?: boolean; reason?: string }): Promise<this>;
public setTopic(topic: string, reason?: string): Promise<this>;
public setTopic(topic: string | null, reason?: string): Promise<this>;
public updateOverwrite(
userOrRole: RoleResolvable | UserResolvable,
options: PermissionOverwriteOption,