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> ): Promise<null>
async prune( async prune(
days?: number, days?: number,
computePruneCount?: true, computePruneCount?: true | undefined,
includeRoles?: Array<Role | string>
): Promise<number>
async prune(
days?: number,
computePruneCount?: undefined,
includeRoles?: Array<Role | string> includeRoles?: Array<Role | string>
): Promise<number> ): Promise<number>
async prune( async prune(