Make prune type a bit better

This commit is contained in:
Helloyunho 2021-01-21 14:54:33 +09:00
parent e99bf61f3a
commit 617e3b6204
1 changed files with 1 additions and 6 deletions

View File

@ -393,12 +393,7 @@ export class Guild extends Base {
): Promise<null>
async prune(
days?: number,
computePruneCount?: true,
includeRoles?: Array<Role | string>
): Promise<number>
async prune(
days?: number,
computePruneCount?: undefined,
computePruneCount?: true | undefined,
includeRoles?: Array<Role | string>
): Promise<number>
async prune(