feat(typings): TypeScript support for changing $browser (#4667)

This commit is contained in:
Matthew Stead
2020-08-11 20:57:42 +02:00
committed by GitHub
parent bbfc715821
commit e54c21bc65

7
typings/index.d.ts vendored
View File

@@ -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 =