typings: switch overloads of RoleStore#fetch (#3397)

because compu told me to
This commit is contained in:
Carter
2019-08-17 09:51:52 -06:00
committed by SpaceEEC
parent f55e4302c9
commit 7fae6e5bca

2
typings/index.d.ts vendored
View File

@@ -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> {