mirror of
https://github.com/danbulant/discord.js
synced 2026-05-29 20:30:38 +00:00
feat(typings): TypeScript support for changing $browser (#4667)
This commit is contained in:
parent
bbfc715821
commit
e54c21bc65
1 changed files with 7 additions and 0 deletions
7
typings/index.d.ts
vendored
7
typings/index.d.ts
vendored
|
|
@ -3070,6 +3070,13 @@ declare module 'discord.js' {
|
|||
large_threshold?: number;
|
||||
compress?: boolean;
|
||||
intents?: BitFieldResolvable<IntentsString> | number;
|
||||
properties?: WebSocketProperties;
|
||||
}
|
||||
|
||||
interface WebSocketProperties {
|
||||
$os?: string;
|
||||
$browser?: string;
|
||||
$device?: string;
|
||||
}
|
||||
|
||||
type WSEventType =
|
||||
|
|
|
|||
Loading…
Reference in a new issue