From 7c4d1dffb4e61c573ad1694f9b88ca9cca68522c Mon Sep 17 00:00:00 2001 From: muchnameless <12682826+muchnameless@users.noreply.github.com> Date: Sat, 2 Oct 2021 13:40:52 +0200 Subject: [PATCH] types(Role): Role#comparePositionTo accepts RoleResolvable (#6722) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 35d3f9e50..996050cb4 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1624,7 +1624,7 @@ export class Role extends Base { public readonly position: number; public rawPosition: number; public tags: RoleTagData | null; - public comparePositionTo(role: Role): number; + public comparePositionTo(role: RoleResolvable): number; public delete(reason?: string): Promise; public edit(data: RoleData, reason?: string): Promise; public equals(role: Role): boolean;