mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
typings: switch overloads of RoleStore#fetch (#3397)
because compu told me to
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -1797,8 +1797,8 @@ declare module 'discord.js' {
|
||||
public readonly highest: Role;
|
||||
|
||||
public create(options?: { data?: RoleData, reason?: string }): Promise<Role>;
|
||||
public fetch(id?: Snowflake, cache?: boolean): Promise<this>;
|
||||
public fetch(id: Snowflake, cache?: boolean): Promise<Role | null>;
|
||||
public fetch(id?: Snowflake, cache?: boolean): Promise<this>;
|
||||
}
|
||||
|
||||
export class UserStore extends DataStore<Snowflake, User, typeof User, UserResolvable> {
|
||||
|
||||
Reference in New Issue
Block a user