refactor: deprecate $ prefix from ws.properties keys (#8095)

This commit is contained in:
Superchupu
2022-06-17 22:26:57 +01:00
committed by GitHub
parent 0ab2227984
commit 3638b4021a
2 changed files with 9 additions and 3 deletions

6
typings/index.d.ts vendored
View File

@@ -6016,8 +6016,14 @@ export interface WebSocketOptions {
}
export interface WebSocketProperties {
os?: string;
browser?: string;
device?: string;
/** @deprecated Use {@link os} instead. */
$os?: string;
/** @deprecated Use {@link browser} instead. */
$browser?: string;
/** @deprecated Use {@link device} instead. */
$device?: string;
}