mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 09:55:50 +08:00
sip.js: ConfigurationParameters: Correct ws_uri signature
This property accepts a string, or an array of strings and objects.
This commit is contained in:
2
types/sip.js/index.d.ts
vendored
2
types/sip.js/index.d.ts
vendored
@@ -183,7 +183,7 @@ export namespace WebRTC {
|
||||
/* Parameters */
|
||||
export interface ConfigurationParameters {
|
||||
uri?: string;
|
||||
wsServers?: string | string[] | Array<{ ws_uri: string; weigth: number }>;
|
||||
wsServers?: string | Array<string | { ws_uri: string; weight?: number }>;
|
||||
allowLegacyNotifications?: boolean;
|
||||
authenticationFactory?: WebRTC.MediaHandlerFactory;
|
||||
authorizationUser?: string;
|
||||
|
||||
Reference in New Issue
Block a user