mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(typings): TypeScript support for changing $browser (#4667)
This commit is contained in:
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 =
|
||||
|
||||
Reference in New Issue
Block a user