From a9b029303aa3a835031ccec1156841bfac8b154f Mon Sep 17 00:00:00 2001 From: Carter <45381083+Fyk0@users.noreply.github.com> Date: Sat, 17 Aug 2019 09:51:52 -0600 Subject: [PATCH] typings: switch overloads of RoleStore#fetch (#3397) because compu told me to --- 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 09cc75ca599a..51b0d993c551 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1797,8 +1797,8 @@ declare module 'discord.js' { public readonly highest: Role; public create(options?: { data?: RoleData, reason?: string }): Promise; - public fetch(id?: Snowflake, cache?: boolean): Promise; public fetch(id: Snowflake, cache?: boolean): Promise; + public fetch(id?: Snowflake, cache?: boolean): Promise; } export class UserStore extends DataStore {