mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
correct isSupported type (#43419)
it’s not actually a function, it’s a boolean property
This commit is contained in:
Vendored
+2
-1
@@ -5,6 +5,7 @@
|
||||
// katashin <https://github.com/ktsn>
|
||||
// Benjamin Santalucia <https://github.com/ben8p>
|
||||
// Erick Delfin <https://github.com/nifled>
|
||||
// Adam Montgomery <https://github.com/howitzer-industries>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -487,6 +488,7 @@ export class VideoTrack extends Track {
|
||||
* Global (https://media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta1/docs/global.html)
|
||||
*/
|
||||
export const version: string;
|
||||
export const isSupported: boolean;
|
||||
|
||||
/** Members */
|
||||
export type AudioCodec = 'isac' | 'opus' | 'PCMA' | 'PCMU';
|
||||
@@ -498,7 +500,6 @@ export function connect(token: string, options?: ConnectOptions): Promise<Room>;
|
||||
export function createLocalAudioTrack(options?: CreateLocalTrackOptions): Promise<LocalAudioTrack>;
|
||||
export function createLocalTracks(options?: CreateLocalTracksOptions): Promise<LocalTrack[]>;
|
||||
export function createLocalVideoTrack(options?: CreateLocalTrackOptions): Promise<LocalVideoTrack>;
|
||||
export function isSupported(): boolean;
|
||||
export function rewriteLocalTrackIds(room: Room, trackStats: LocalTrackStats[]): LocalTrackStats[];
|
||||
|
||||
/** Type Definitions */
|
||||
|
||||
Reference in New Issue
Block a user