@types/web 0.0.47 → 0.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +134 -10
- package/iterable.d.ts +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.51 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.51.
|
package/index.d.ts
CHANGED
|
@@ -469,6 +469,18 @@ interface FileSystemFlags {
|
|
|
469
469
|
exclusive?: boolean;
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
+
interface FileSystemGetDirectoryOptions {
|
|
473
|
+
create?: boolean;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
interface FileSystemGetFileOptions {
|
|
477
|
+
create?: boolean;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
interface FileSystemRemoveOptions {
|
|
481
|
+
recursive?: boolean;
|
|
482
|
+
}
|
|
483
|
+
|
|
472
484
|
interface FocusEventInit extends UIEventInit {
|
|
473
485
|
relatedTarget?: EventTarget | null;
|
|
474
486
|
}
|
|
@@ -673,6 +685,24 @@ interface KeyframeEffectOptions extends EffectTiming {
|
|
|
673
685
|
pseudoElement?: string | null;
|
|
674
686
|
}
|
|
675
687
|
|
|
688
|
+
interface LockInfo {
|
|
689
|
+
clientId?: string;
|
|
690
|
+
mode?: LockMode;
|
|
691
|
+
name?: string;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
interface LockManagerSnapshot {
|
|
695
|
+
held?: LockInfo[];
|
|
696
|
+
pending?: LockInfo[];
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
interface LockOptions {
|
|
700
|
+
ifAvailable?: boolean;
|
|
701
|
+
mode?: LockMode;
|
|
702
|
+
signal?: AbortSignal;
|
|
703
|
+
steal?: boolean;
|
|
704
|
+
}
|
|
705
|
+
|
|
676
706
|
interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo {
|
|
677
707
|
configuration?: MediaDecodingConfiguration;
|
|
678
708
|
}
|
|
@@ -1181,7 +1211,7 @@ interface RTCAnswerOptions extends RTCOfferAnswerOptions {
|
|
|
1181
1211
|
}
|
|
1182
1212
|
|
|
1183
1213
|
interface RTCCertificateExpiration {
|
|
1184
|
-
expires?:
|
|
1214
|
+
expires?: number;
|
|
1185
1215
|
}
|
|
1186
1216
|
|
|
1187
1217
|
interface RTCConfiguration {
|
|
@@ -1630,7 +1660,7 @@ interface StreamPipeOptions {
|
|
|
1630
1660
|
}
|
|
1631
1661
|
|
|
1632
1662
|
interface StructuredSerializeOptions {
|
|
1633
|
-
transfer?:
|
|
1663
|
+
transfer?: Transferable[];
|
|
1634
1664
|
}
|
|
1635
1665
|
|
|
1636
1666
|
interface SubmitEventInit extends EventInit {
|
|
@@ -1875,7 +1905,7 @@ interface AbortSignal extends EventTarget {
|
|
|
1875
1905
|
declare var AbortSignal: {
|
|
1876
1906
|
prototype: AbortSignal;
|
|
1877
1907
|
new(): AbortSignal;
|
|
1878
|
-
abort(reason?: any): AbortSignal;
|
|
1908
|
+
// abort(reason?: any): AbortSignal; - To be re-added in the future
|
|
1879
1909
|
};
|
|
1880
1910
|
|
|
1881
1911
|
interface AbstractRange {
|
|
@@ -2936,6 +2966,7 @@ interface CSSStyleDeclaration {
|
|
|
2936
2966
|
scrollSnapAlign: string;
|
|
2937
2967
|
scrollSnapStop: string;
|
|
2938
2968
|
scrollSnapType: string;
|
|
2969
|
+
scrollbarGutter: string;
|
|
2939
2970
|
shapeImageThreshold: string;
|
|
2940
2971
|
shapeMargin: string;
|
|
2941
2972
|
shapeOutside: string;
|
|
@@ -3233,9 +3264,23 @@ declare var CacheStorage: {
|
|
|
3233
3264
|
new(): CacheStorage;
|
|
3234
3265
|
};
|
|
3235
3266
|
|
|
3267
|
+
interface CanvasCaptureMediaStreamTrack extends MediaStreamTrack {
|
|
3268
|
+
readonly canvas: HTMLCanvasElement;
|
|
3269
|
+
requestFrame(): void;
|
|
3270
|
+
addEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
3271
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
3272
|
+
removeEventListener<K extends keyof MediaStreamTrackEventMap>(type: K, listener: (this: CanvasCaptureMediaStreamTrack, ev: MediaStreamTrackEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
3273
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
declare var CanvasCaptureMediaStreamTrack: {
|
|
3277
|
+
prototype: CanvasCaptureMediaStreamTrack;
|
|
3278
|
+
new(): CanvasCaptureMediaStreamTrack;
|
|
3279
|
+
};
|
|
3280
|
+
|
|
3236
3281
|
interface CanvasCompositing {
|
|
3237
3282
|
globalAlpha: number;
|
|
3238
|
-
globalCompositeOperation:
|
|
3283
|
+
globalCompositeOperation: GlobalCompositeOperation;
|
|
3239
3284
|
}
|
|
3240
3285
|
|
|
3241
3286
|
interface CanvasDrawImage {
|
|
@@ -5078,6 +5123,20 @@ declare var FileSystemDirectoryEntry: {
|
|
|
5078
5123
|
new(): FileSystemDirectoryEntry;
|
|
5079
5124
|
};
|
|
5080
5125
|
|
|
5126
|
+
/** Available only in secure contexts. */
|
|
5127
|
+
interface FileSystemDirectoryHandle extends FileSystemHandle {
|
|
5128
|
+
readonly kind: "directory";
|
|
5129
|
+
getDirectoryHandle(name: string, options?: FileSystemGetDirectoryOptions): Promise<FileSystemDirectoryHandle>;
|
|
5130
|
+
getFileHandle(name: string, options?: FileSystemGetFileOptions): Promise<FileSystemFileHandle>;
|
|
5131
|
+
removeEntry(name: string, options?: FileSystemRemoveOptions): Promise<void>;
|
|
5132
|
+
resolve(possibleDescendant: FileSystemHandle): Promise<string[] | null>;
|
|
5133
|
+
}
|
|
5134
|
+
|
|
5135
|
+
declare var FileSystemDirectoryHandle: {
|
|
5136
|
+
prototype: FileSystemDirectoryHandle;
|
|
5137
|
+
new(): FileSystemDirectoryHandle;
|
|
5138
|
+
};
|
|
5139
|
+
|
|
5081
5140
|
interface FileSystemDirectoryReader {
|
|
5082
5141
|
readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void;
|
|
5083
5142
|
}
|
|
@@ -5110,6 +5169,29 @@ declare var FileSystemFileEntry: {
|
|
|
5110
5169
|
new(): FileSystemFileEntry;
|
|
5111
5170
|
};
|
|
5112
5171
|
|
|
5172
|
+
/** Available only in secure contexts. */
|
|
5173
|
+
interface FileSystemFileHandle extends FileSystemHandle {
|
|
5174
|
+
readonly kind: "file";
|
|
5175
|
+
getFile(): Promise<File>;
|
|
5176
|
+
}
|
|
5177
|
+
|
|
5178
|
+
declare var FileSystemFileHandle: {
|
|
5179
|
+
prototype: FileSystemFileHandle;
|
|
5180
|
+
new(): FileSystemFileHandle;
|
|
5181
|
+
};
|
|
5182
|
+
|
|
5183
|
+
/** Available only in secure contexts. */
|
|
5184
|
+
interface FileSystemHandle {
|
|
5185
|
+
readonly kind: FileSystemHandleKind;
|
|
5186
|
+
readonly name: string;
|
|
5187
|
+
isSameEntry(other: FileSystemHandle): Promise<boolean>;
|
|
5188
|
+
}
|
|
5189
|
+
|
|
5190
|
+
declare var FileSystemHandle: {
|
|
5191
|
+
prototype: FileSystemHandle;
|
|
5192
|
+
new(): FileSystemHandle;
|
|
5193
|
+
};
|
|
5194
|
+
|
|
5113
5195
|
/** Focus-related events like focus, blur, focusin, or focusout. */
|
|
5114
5196
|
interface FocusEvent extends UIEvent {
|
|
5115
5197
|
readonly relatedTarget: EventTarget | null;
|
|
@@ -5411,6 +5493,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
5411
5493
|
"select": Event;
|
|
5412
5494
|
"selectionchange": Event;
|
|
5413
5495
|
"selectstart": Event;
|
|
5496
|
+
"slotchange": Event;
|
|
5414
5497
|
"stalled": Event;
|
|
5415
5498
|
"submit": SubmitEvent;
|
|
5416
5499
|
"suspend": Event;
|
|
@@ -5645,6 +5728,7 @@ interface GlobalEventHandlers {
|
|
|
5645
5728
|
* @param ev The event.
|
|
5646
5729
|
*/
|
|
5647
5730
|
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5731
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
5648
5732
|
/**
|
|
5649
5733
|
* Occurs when the seek operation ends.
|
|
5650
5734
|
* @param ev The event.
|
|
@@ -5662,6 +5746,7 @@ interface GlobalEventHandlers {
|
|
|
5662
5746
|
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5663
5747
|
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5664
5748
|
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5749
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
5665
5750
|
/**
|
|
5666
5751
|
* Occurs when the download has stopped.
|
|
5667
5752
|
* @param ev The event.
|
|
@@ -6627,7 +6712,8 @@ interface HTMLImageElement extends HTMLElement {
|
|
|
6627
6712
|
hspace: number;
|
|
6628
6713
|
/** Sets or retrieves whether the image is a server-side image map. */
|
|
6629
6714
|
isMap: boolean;
|
|
6630
|
-
loading
|
|
6715
|
+
/** Sets or retrieves the policy for loading image elements that are outside the viewport. */
|
|
6716
|
+
loading: "eager" | "lazy";
|
|
6631
6717
|
/**
|
|
6632
6718
|
* Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
|
|
6633
6719
|
* @deprecated
|
|
@@ -7085,6 +7171,7 @@ interface HTMLMetaElement extends HTMLElement {
|
|
|
7085
7171
|
content: string;
|
|
7086
7172
|
/** Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header. */
|
|
7087
7173
|
httpEquiv: string;
|
|
7174
|
+
media: string;
|
|
7088
7175
|
/** Sets or retrieves the value specified in the content attribute of the meta object. */
|
|
7089
7176
|
name: string;
|
|
7090
7177
|
/**
|
|
@@ -8849,6 +8936,29 @@ declare var Location: {
|
|
|
8849
8936
|
new(): Location;
|
|
8850
8937
|
};
|
|
8851
8938
|
|
|
8939
|
+
/** Available only in secure contexts. */
|
|
8940
|
+
interface Lock {
|
|
8941
|
+
readonly mode: LockMode;
|
|
8942
|
+
readonly name: string;
|
|
8943
|
+
}
|
|
8944
|
+
|
|
8945
|
+
declare var Lock: {
|
|
8946
|
+
prototype: Lock;
|
|
8947
|
+
new(): Lock;
|
|
8948
|
+
};
|
|
8949
|
+
|
|
8950
|
+
/** Available only in secure contexts. */
|
|
8951
|
+
interface LockManager {
|
|
8952
|
+
query(): Promise<LockManagerSnapshot>;
|
|
8953
|
+
request(name: string, callback: LockGrantedCallback): Promise<any>;
|
|
8954
|
+
request(name: string, options: LockOptions, callback: LockGrantedCallback): Promise<any>;
|
|
8955
|
+
}
|
|
8956
|
+
|
|
8957
|
+
declare var LockManager: {
|
|
8958
|
+
prototype: LockManager;
|
|
8959
|
+
new(): LockManager;
|
|
8960
|
+
};
|
|
8961
|
+
|
|
8852
8962
|
interface MathMLElementEventMap extends ElementEventMap, DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap {
|
|
8853
8963
|
}
|
|
8854
8964
|
|
|
@@ -10175,6 +10285,7 @@ interface PerformanceEventTiming extends PerformanceEntry {
|
|
|
10175
10285
|
readonly processingEnd: DOMHighResTimeStamp;
|
|
10176
10286
|
readonly processingStart: DOMHighResTimeStamp;
|
|
10177
10287
|
readonly target: Node | null;
|
|
10288
|
+
toJSON(): any;
|
|
10178
10289
|
}
|
|
10179
10290
|
|
|
10180
10291
|
declare var PerformanceEventTiming: {
|
|
@@ -10897,6 +11008,7 @@ interface RTCRtpTransceiver {
|
|
|
10897
11008
|
readonly mid: string | null;
|
|
10898
11009
|
readonly receiver: RTCRtpReceiver;
|
|
10899
11010
|
readonly sender: RTCRtpSender;
|
|
11011
|
+
setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;
|
|
10900
11012
|
stop(): void;
|
|
10901
11013
|
}
|
|
10902
11014
|
|
|
@@ -11111,6 +11223,7 @@ interface ResizeObserverEntry {
|
|
|
11111
11223
|
readonly borderBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
11112
11224
|
readonly contentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
11113
11225
|
readonly contentRect: DOMRectReadOnly;
|
|
11226
|
+
readonly devicePixelContentBoxSize: ReadonlyArray<ResizeObserverSize>;
|
|
11114
11227
|
readonly target: Element;
|
|
11115
11228
|
}
|
|
11116
11229
|
|
|
@@ -13080,6 +13193,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
|
|
|
13080
13193
|
readonly host: Element;
|
|
13081
13194
|
readonly mode: ShadowRootMode;
|
|
13082
13195
|
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
|
|
13196
|
+
readonly slotAssignment: SlotAssignmentMode;
|
|
13083
13197
|
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
|
|
13084
13198
|
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13085
13199
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13377,6 +13491,7 @@ declare var StorageEvent: {
|
|
|
13377
13491
|
/** Available only in secure contexts. */
|
|
13378
13492
|
interface StorageManager {
|
|
13379
13493
|
estimate(): Promise<StorageEstimate>;
|
|
13494
|
+
getDirectory(): Promise<FileSystemDirectoryHandle>;
|
|
13380
13495
|
persist(): Promise<boolean>;
|
|
13381
13496
|
persisted(): Promise<boolean>;
|
|
13382
13497
|
}
|
|
@@ -16310,8 +16425,8 @@ interface WindowOrWorkerGlobalScope {
|
|
|
16310
16425
|
readonly performance: Performance;
|
|
16311
16426
|
atob(data: string): string;
|
|
16312
16427
|
btoa(data: string): string;
|
|
16313
|
-
clearInterval(
|
|
16314
|
-
clearTimeout(
|
|
16428
|
+
clearInterval(id?: number): void;
|
|
16429
|
+
clearTimeout(id?: number): void;
|
|
16315
16430
|
createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16316
16431
|
createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
16317
16432
|
fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
@@ -16805,7 +16920,7 @@ declare namespace WebAssembly {
|
|
|
16805
16920
|
|
|
16806
16921
|
type ImportExportKind = "function" | "global" | "memory" | "table";
|
|
16807
16922
|
type TableKind = "anyfunc" | "externref";
|
|
16808
|
-
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64";
|
|
16923
|
+
type ValueType = "anyfunc" | "externref" | "f32" | "f64" | "i32" | "i64" | "v128";
|
|
16809
16924
|
type ExportValue = Function | Global | Memory | Table;
|
|
16810
16925
|
type Exports = Record<string, ExportValue>;
|
|
16811
16926
|
type ImportValue = ExportValue | number;
|
|
@@ -16867,6 +16982,10 @@ interface IntersectionObserverCallback {
|
|
|
16867
16982
|
(entries: IntersectionObserverEntry[], observer: IntersectionObserver): void;
|
|
16868
16983
|
}
|
|
16869
16984
|
|
|
16985
|
+
interface LockGrantedCallback {
|
|
16986
|
+
(lock: Lock | null): any;
|
|
16987
|
+
}
|
|
16988
|
+
|
|
16870
16989
|
interface MediaSessionActionHandler {
|
|
16871
16990
|
(details: MediaSessionActionDetails): void;
|
|
16872
16991
|
}
|
|
@@ -17495,6 +17614,7 @@ declare var onresize: ((this: Window, ev: UIEvent) => any) | null;
|
|
|
17495
17614
|
* @param ev The event.
|
|
17496
17615
|
*/
|
|
17497
17616
|
declare var onscroll: ((this: Window, ev: Event) => any) | null;
|
|
17617
|
+
declare var onsecuritypolicyviolation: ((this: Window, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
17498
17618
|
/**
|
|
17499
17619
|
* Occurs when the seek operation ends.
|
|
17500
17620
|
* @param ev The event.
|
|
@@ -17512,6 +17632,7 @@ declare var onseeking: ((this: Window, ev: Event) => any) | null;
|
|
|
17512
17632
|
declare var onselect: ((this: Window, ev: Event) => any) | null;
|
|
17513
17633
|
declare var onselectionchange: ((this: Window, ev: Event) => any) | null;
|
|
17514
17634
|
declare var onselectstart: ((this: Window, ev: Event) => any) | null;
|
|
17635
|
+
declare var onslotchange: ((this: Window, ev: Event) => any) | null;
|
|
17515
17636
|
/**
|
|
17516
17637
|
* Occurs when the download has stopped.
|
|
17517
17638
|
* @param ev The event.
|
|
@@ -17585,8 +17706,8 @@ declare var origin: string;
|
|
|
17585
17706
|
declare var performance: Performance;
|
|
17586
17707
|
declare function atob(data: string): string;
|
|
17587
17708
|
declare function btoa(data: string): string;
|
|
17588
|
-
declare function clearInterval(
|
|
17589
|
-
declare function clearTimeout(
|
|
17709
|
+
declare function clearInterval(id?: number): void;
|
|
17710
|
+
declare function clearTimeout(id?: number): void;
|
|
17590
17711
|
declare function createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17591
17712
|
declare function createImageBitmap(image: ImageBitmapSource, sx: number, sy: number, sw: number, sh: number, options?: ImageBitmapOptions): Promise<ImageBitmap>;
|
|
17592
17713
|
declare function fetch(input: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
@@ -17703,12 +17824,14 @@ type DocumentReadyState = "complete" | "interactive" | "loading";
|
|
|
17703
17824
|
type DocumentVisibilityState = "hidden" | "visible";
|
|
17704
17825
|
type EndOfStreamError = "decode" | "network";
|
|
17705
17826
|
type EndingType = "native" | "transparent";
|
|
17827
|
+
type FileSystemHandleKind = "directory" | "file";
|
|
17706
17828
|
type FillMode = "auto" | "backwards" | "both" | "forwards" | "none";
|
|
17707
17829
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
17708
17830
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
17709
17831
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
17710
17832
|
type GamepadHapticActuatorType = "vibration";
|
|
17711
17833
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
17834
|
+
type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
|
|
17712
17835
|
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
|
|
17713
17836
|
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
17714
17837
|
type IDBRequestReadyState = "done" | "pending";
|
|
@@ -17721,6 +17844,7 @@ type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
|
|
|
17721
17844
|
type KeyType = "private" | "public" | "secret";
|
|
17722
17845
|
type KeyUsage = "decrypt" | "deriveBits" | "deriveKey" | "encrypt" | "sign" | "unwrapKey" | "verify" | "wrapKey";
|
|
17723
17846
|
type LineAlignSetting = "center" | "end" | "start";
|
|
17847
|
+
type LockMode = "exclusive" | "shared";
|
|
17724
17848
|
type MediaDecodingType = "file" | "media-source" | "webrtc";
|
|
17725
17849
|
type MediaDeviceKind = "audioinput" | "audiooutput" | "videoinput";
|
|
17726
17850
|
type MediaEncodingType = "record" | "webrtc";
|
package/iterable.d.ts
CHANGED
|
@@ -168,6 +168,10 @@ interface PluginArray {
|
|
|
168
168
|
[Symbol.iterator](): IterableIterator<Plugin>;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
interface RTCRtpTransceiver {
|
|
172
|
+
setCodecPreferences(codecs: Iterable<RTCRtpCodecCapability>): void;
|
|
173
|
+
}
|
|
174
|
+
|
|
171
175
|
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
|
172
176
|
}
|
|
173
177
|
|