@types/web 0.0.143 → 0.0.144
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 +75 -18
- package/iterable.d.ts +1 -1
- 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.144 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.144.
|
package/index.d.ts
CHANGED
|
@@ -4889,7 +4889,11 @@ interface CSSStyleDeclaration {
|
|
|
4889
4889
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/justify-content)
|
|
4890
4890
|
*/
|
|
4891
4891
|
webkitJustifyContent: string;
|
|
4892
|
-
/**
|
|
4892
|
+
/**
|
|
4893
|
+
* @deprecated This is a legacy alias of `lineClamp`.
|
|
4894
|
+
*
|
|
4895
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp)
|
|
4896
|
+
*/
|
|
4893
4897
|
webkitLineClamp: string;
|
|
4894
4898
|
/**
|
|
4895
4899
|
* @deprecated This is a legacy alias of `mask`.
|
|
@@ -5551,6 +5555,8 @@ interface CanvasShadowStyles {
|
|
|
5551
5555
|
}
|
|
5552
5556
|
|
|
5553
5557
|
interface CanvasState {
|
|
5558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/isContextLost) */
|
|
5559
|
+
isContextLost(): boolean;
|
|
5554
5560
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/reset) */
|
|
5555
5561
|
reset(): void;
|
|
5556
5562
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/restore) */
|
|
@@ -7265,6 +7271,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7265
7271
|
createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent;
|
|
7266
7272
|
createEvent(eventInterface: "StorageEvent"): StorageEvent;
|
|
7267
7273
|
createEvent(eventInterface: "SubmitEvent"): SubmitEvent;
|
|
7274
|
+
createEvent(eventInterface: "TextEvent"): TextEvent;
|
|
7268
7275
|
createEvent(eventInterface: "ToggleEvent"): ToggleEvent;
|
|
7269
7276
|
createEvent(eventInterface: "TouchEvent"): TouchEvent;
|
|
7270
7277
|
createEvent(eventInterface: "TrackEvent"): TrackEvent;
|
|
@@ -7701,7 +7708,7 @@ interface ElementEventMap {
|
|
|
7701
7708
|
*
|
|
7702
7709
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element)
|
|
7703
7710
|
*/
|
|
7704
|
-
interface Element extends Node, ARIAMixin, Animatable, ChildNode,
|
|
7711
|
+
interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTypeChildNode, ParentNode, Slottable {
|
|
7705
7712
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attributes) */
|
|
7706
7713
|
readonly attributes: NamedNodeMap;
|
|
7707
7714
|
/**
|
|
@@ -7730,6 +7737,8 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
|
|
|
7730
7737
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/id)
|
|
7731
7738
|
*/
|
|
7732
7739
|
id: string;
|
|
7740
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
|
|
7741
|
+
innerHTML: string;
|
|
7733
7742
|
/**
|
|
7734
7743
|
* Returns the local name.
|
|
7735
7744
|
*
|
|
@@ -7869,7 +7878,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
|
|
|
7869
7878
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentElement) */
|
|
7870
7879
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
7871
7880
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML) */
|
|
7872
|
-
insertAdjacentHTML(position: InsertPosition,
|
|
7881
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
7873
7882
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentText) */
|
|
7874
7883
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
7875
7884
|
/**
|
|
@@ -8959,7 +8968,9 @@ interface GlobalEventHandlersEventMap {
|
|
|
8959
8968
|
"compositionend": CompositionEvent;
|
|
8960
8969
|
"compositionstart": CompositionEvent;
|
|
8961
8970
|
"compositionupdate": CompositionEvent;
|
|
8971
|
+
"contextlost": Event;
|
|
8962
8972
|
"contextmenu": MouseEvent;
|
|
8973
|
+
"contextrestored": Event;
|
|
8963
8974
|
"copy": ClipboardEvent;
|
|
8964
8975
|
"cuechange": Event;
|
|
8965
8976
|
"cut": ClipboardEvent;
|
|
@@ -9100,6 +9111,8 @@ interface GlobalEventHandlers {
|
|
|
9100
9111
|
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
9101
9112
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
9102
9113
|
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9114
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
|
|
9115
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9103
9116
|
/**
|
|
9104
9117
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
9105
9118
|
* @param ev The mouse event.
|
|
@@ -9107,6 +9120,8 @@ interface GlobalEventHandlers {
|
|
|
9107
9120
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
|
|
9108
9121
|
*/
|
|
9109
9122
|
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
9123
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
|
|
9124
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9110
9125
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
|
|
9111
9126
|
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
9112
9127
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */
|
|
@@ -10875,6 +10890,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10875
10890
|
name: string;
|
|
10876
10891
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/referrerPolicy) */
|
|
10877
10892
|
referrerPolicy: ReferrerPolicy;
|
|
10893
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/sandbox) */
|
|
10878
10894
|
readonly sandbox: DOMTokenList;
|
|
10879
10895
|
/**
|
|
10880
10896
|
* Sets or retrieves whether the frame can be scrolled.
|
|
@@ -11431,6 +11447,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11431
11447
|
hreflang: string;
|
|
11432
11448
|
imageSizes: string;
|
|
11433
11449
|
imageSrcset: string;
|
|
11450
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/integrity) */
|
|
11434
11451
|
integrity: string;
|
|
11435
11452
|
/** Sets or retrieves the media type. */
|
|
11436
11453
|
media: string;
|
|
@@ -11456,7 +11473,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11456
11473
|
* @deprecated
|
|
11457
11474
|
*/
|
|
11458
11475
|
target: string;
|
|
11459
|
-
/**
|
|
11476
|
+
/**
|
|
11477
|
+
* Sets or retrieves the MIME type of the object.
|
|
11478
|
+
*
|
|
11479
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/type)
|
|
11480
|
+
*/
|
|
11460
11481
|
type: string;
|
|
11461
11482
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLLinkElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11462
11483
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -12480,6 +12501,7 @@ declare var HTMLQuoteElement: {
|
|
|
12480
12501
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement)
|
|
12481
12502
|
*/
|
|
12482
12503
|
interface HTMLScriptElement extends HTMLElement {
|
|
12504
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/async) */
|
|
12483
12505
|
async: boolean;
|
|
12484
12506
|
/**
|
|
12485
12507
|
* Sets or retrieves the character set used to encode the object.
|
|
@@ -12488,28 +12510,47 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
12488
12510
|
charset: string;
|
|
12489
12511
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
|
|
12490
12512
|
crossOrigin: string | null;
|
|
12491
|
-
/**
|
|
12513
|
+
/**
|
|
12514
|
+
* Sets or retrieves the status of the script.
|
|
12515
|
+
*
|
|
12516
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/defer)
|
|
12517
|
+
*/
|
|
12492
12518
|
defer: boolean;
|
|
12493
12519
|
/**
|
|
12494
12520
|
* Sets or retrieves the event for which the script is written.
|
|
12495
12521
|
* @deprecated
|
|
12496
12522
|
*/
|
|
12497
12523
|
event: string;
|
|
12524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */
|
|
12498
12525
|
fetchPriority: string;
|
|
12499
12526
|
/**
|
|
12500
12527
|
* Sets or retrieves the object that is bound to the event script.
|
|
12501
12528
|
* @deprecated
|
|
12502
12529
|
*/
|
|
12503
12530
|
htmlFor: string;
|
|
12531
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/integrity) */
|
|
12504
12532
|
integrity: string;
|
|
12533
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/noModule) */
|
|
12505
12534
|
noModule: boolean;
|
|
12506
12535
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/referrerPolicy) */
|
|
12507
12536
|
referrerPolicy: string;
|
|
12508
|
-
/**
|
|
12537
|
+
/**
|
|
12538
|
+
* Retrieves the URL to an external file that contains the source code or data.
|
|
12539
|
+
*
|
|
12540
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/src)
|
|
12541
|
+
*/
|
|
12509
12542
|
src: string;
|
|
12510
|
-
/**
|
|
12543
|
+
/**
|
|
12544
|
+
* Retrieves or sets the text of the object as a string.
|
|
12545
|
+
*
|
|
12546
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/text)
|
|
12547
|
+
*/
|
|
12511
12548
|
text: string;
|
|
12512
|
-
/**
|
|
12549
|
+
/**
|
|
12550
|
+
* Sets or retrieves the MIME type for the associated scripting engine.
|
|
12551
|
+
*
|
|
12552
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/type)
|
|
12553
|
+
*/
|
|
12513
12554
|
type: string;
|
|
12514
12555
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLScriptElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
12515
12556
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13319,6 +13360,11 @@ interface HTMLTemplateElement extends HTMLElement {
|
|
|
13319
13360
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/content)
|
|
13320
13361
|
*/
|
|
13321
13362
|
readonly content: DocumentFragment;
|
|
13363
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable) */
|
|
13364
|
+
shadowRootClonable: boolean;
|
|
13365
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootDelegatesFocus) */
|
|
13366
|
+
shadowRootDelegatesFocus: boolean;
|
|
13367
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootMode) */
|
|
13322
13368
|
shadowRootMode: string;
|
|
13323
13369
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTemplateElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13324
13370
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -14505,11 +14551,6 @@ declare var ImageData: {
|
|
|
14505
14551
|
new(data: Uint8ClampedArray, sw: number, sh?: number, settings?: ImageDataSettings): ImageData;
|
|
14506
14552
|
};
|
|
14507
14553
|
|
|
14508
|
-
interface InnerHTML {
|
|
14509
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML) */
|
|
14510
|
-
innerHTML: string;
|
|
14511
|
-
}
|
|
14512
|
-
|
|
14513
14554
|
/**
|
|
14514
14555
|
* Available only in secure contexts.
|
|
14515
14556
|
*
|
|
@@ -16898,8 +16939,6 @@ declare var OffscreenCanvas: {
|
|
|
16898
16939
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D) */
|
|
16899
16940
|
interface OffscreenCanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform {
|
|
16900
16941
|
readonly canvas: OffscreenCanvas;
|
|
16901
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/OffscreenCanvasRenderingContext2D/commit) */
|
|
16902
|
-
commit(): void;
|
|
16903
16942
|
}
|
|
16904
16943
|
|
|
16905
16944
|
declare var OffscreenCanvasRenderingContext2D: {
|
|
@@ -18499,6 +18538,7 @@ declare var RTCPeerConnectionIceEvent: {
|
|
|
18499
18538
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver)
|
|
18500
18539
|
*/
|
|
18501
18540
|
interface RTCRtpReceiver {
|
|
18541
|
+
jitterBufferTarget: DOMHighResTimeStamp | null;
|
|
18502
18542
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/track) */
|
|
18503
18543
|
readonly track: MediaStreamTrack;
|
|
18504
18544
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpReceiver/transform) */
|
|
@@ -18577,7 +18617,7 @@ interface RTCRtpTransceiver {
|
|
|
18577
18617
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/sender) */
|
|
18578
18618
|
readonly sender: RTCRtpSender;
|
|
18579
18619
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
|
|
18580
|
-
setCodecPreferences(codecs:
|
|
18620
|
+
setCodecPreferences(codecs: RTCRtpCodec[]): void;
|
|
18581
18621
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/stop) */
|
|
18582
18622
|
stop(): void;
|
|
18583
18623
|
}
|
|
@@ -18697,7 +18737,7 @@ interface Range extends AbstractRange {
|
|
|
18697
18737
|
*/
|
|
18698
18738
|
comparePoint(node: Node, offset: number): number;
|
|
18699
18739
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment) */
|
|
18700
|
-
createContextualFragment(
|
|
18740
|
+
createContextualFragment(string: string): DocumentFragment;
|
|
18701
18741
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/deleteContents) */
|
|
18702
18742
|
deleteContents(): void;
|
|
18703
18743
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/detach) */
|
|
@@ -21371,6 +21411,7 @@ interface Selection {
|
|
|
21371
21411
|
readonly anchorNode: Node | null;
|
|
21372
21412
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/anchorOffset) */
|
|
21373
21413
|
readonly anchorOffset: number;
|
|
21414
|
+
readonly direction: string;
|
|
21374
21415
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusNode) */
|
|
21375
21416
|
readonly focusNode: Node | null;
|
|
21376
21417
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Selection/focusOffset) */
|
|
@@ -21543,13 +21584,15 @@ interface ShadowRootEventMap {
|
|
|
21543
21584
|
}
|
|
21544
21585
|
|
|
21545
21586
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot) */
|
|
21546
|
-
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot
|
|
21587
|
+
interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
|
|
21547
21588
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/clonable) */
|
|
21548
21589
|
readonly clonable: boolean;
|
|
21549
21590
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/delegatesFocus) */
|
|
21550
21591
|
readonly delegatesFocus: boolean;
|
|
21551
21592
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/host) */
|
|
21552
21593
|
readonly host: Element;
|
|
21594
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/innerHTML) */
|
|
21595
|
+
innerHTML: string;
|
|
21553
21596
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/mode) */
|
|
21554
21597
|
readonly mode: ShadowRootMode;
|
|
21555
21598
|
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
|
|
@@ -22296,6 +22339,16 @@ declare var TextEncoderStream: {
|
|
|
22296
22339
|
new(): TextEncoderStream;
|
|
22297
22340
|
};
|
|
22298
22341
|
|
|
22342
|
+
interface TextEvent extends UIEvent {
|
|
22343
|
+
readonly data: string;
|
|
22344
|
+
initTextEvent(type: string, bubbles?: boolean, cancelable?: boolean, view?: Window | null, data?: string): void;
|
|
22345
|
+
}
|
|
22346
|
+
|
|
22347
|
+
declare var TextEvent: {
|
|
22348
|
+
prototype: TextEvent;
|
|
22349
|
+
new(): TextEvent;
|
|
22350
|
+
};
|
|
22351
|
+
|
|
22299
22352
|
/**
|
|
22300
22353
|
* The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
|
|
22301
22354
|
*
|
|
@@ -27857,6 +27910,8 @@ declare var onchange: ((this: Window, ev: Event) => any) | null;
|
|
|
27857
27910
|
declare var onclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
27858
27911
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close_event) */
|
|
27859
27912
|
declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
27913
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/webglcontextlost_event) */
|
|
27914
|
+
declare var oncontextlost: ((this: Window, ev: Event) => any) | null;
|
|
27860
27915
|
/**
|
|
27861
27916
|
* Fires when the user clicks the right mouse button in the client area, opening the context menu.
|
|
27862
27917
|
* @param ev The mouse event.
|
|
@@ -27864,6 +27919,8 @@ declare var onclose: ((this: Window, ev: Event) => any) | null;
|
|
|
27864
27919
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/contextmenu_event)
|
|
27865
27920
|
*/
|
|
27866
27921
|
declare var oncontextmenu: ((this: Window, ev: MouseEvent) => any) | null;
|
|
27922
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLCanvasElement/contextrestored_event) */
|
|
27923
|
+
declare var oncontextrestored: ((this: Window, ev: Event) => any) | null;
|
|
27867
27924
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/copy_event) */
|
|
27868
27925
|
declare var oncopy: ((this: Window, ev: ClipboardEvent) => any) | null;
|
|
27869
27926
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTrackElement/cuechange_event) */
|
package/iterable.d.ts
CHANGED
|
@@ -248,7 +248,7 @@ interface PluginArray {
|
|
|
248
248
|
|
|
249
249
|
interface RTCRtpTransceiver {
|
|
250
250
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences) */
|
|
251
|
-
setCodecPreferences(codecs: Iterable<
|
|
251
|
+
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
interface RTCStatsReport extends ReadonlyMap<string, any> {
|