mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types(Role): Role#comparePositionTo accepts RoleResolvable (#6722)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -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<Role>;
|
||||
public edit(data: RoleData, reason?: string): Promise<Role>;
|
||||
public equals(role: Role): boolean;
|
||||
|
||||
Reference in New Issue
Block a user