typings(Util): use StringResolvable (fixes old pull) (#3556)

Fixes my extremely old pull #3212 that didn't actually update the typing (Didn't know at the time.)
This commit is contained in:
Purpzie
2019-11-04 04:33:42 -06:00
committed by Crawl
parent e26697f07d
commit 99466a99ed

2
typings/index.d.ts vendored
View File

@@ -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;
}