mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 17:52:55 +00: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:
parent
e26697f07d
commit
99466a99ed
1 changed files with 1 additions and 1 deletions
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
|
|
@ -1447,7 +1447,7 @@ declare module 'discord.js' {
|
||||||
route: object,
|
route: object,
|
||||||
reason?: string
|
reason?: string
|
||||||
): Promise<{ id: Snowflake; position: number }[]>;
|
): 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;
|
public static str2ab(str: string): ArrayBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue