mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
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:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user