Skip to content

Commit

Permalink
typings(Util): use StringResolvable (fixes old pull) (discordjs#3556)
Browse files Browse the repository at this point in the history
Fixes my extremely old pull discordjs#3212 that didn't actually update the typing (Didn't know at the time.)
  • Loading branch information
Purpzie authored and samsamson33 committed Feb 27, 2020
1 parent 5986a19 commit 1ec929d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -1447,7 +1447,7 @@ declare module 'discord.js' {
route: object,
reason?: string
): Promise<{ id: Snowflake; position: number }[]>;
public static splitMessage(text: string, options?: SplitOptions): string[];
public static splitMessage(text: StringResolvable, options?: SplitOptions): string[];
public static str2ab(str: string): ArrayBuffer;
}

Expand Down

0 comments on commit 1ec929d

Please sign in to comment.