Make prune type a bit better
This commit is contained in:
parent
e99bf61f3a
commit
617e3b6204
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue