mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +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;
|
large_threshold?: number;
|
||||||
compress?: boolean;
|
compress?: boolean;
|
||||||
intents?: BitFieldResolvable<IntentsString> | number;
|
intents?: BitFieldResolvable<IntentsString> | number;
|
||||||
|
properties?: WebSocketProperties;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface WebSocketProperties {
|
||||||
|
$os?: string;
|
||||||
|
$browser?: string;
|
||||||
|
$device?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
type WSEventType =
|
type WSEventType =
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue