@@ -1191,7 +1191,7 @@ interface ProgressEventInit extends EventInit {
1191
1191
}
1192
1192
1193
1193
interface PromiseRejectionEventInit extends EventInit {
1194
- promise: Promise< any> ;
1194
+ promise: any;
1195
1195
reason?: any;
1196
1196
}
1197
1197
@@ -2513,7 +2513,9 @@ declare var AnimationEvent: {
2513
2513
};
2514
2514
2515
2515
interface AnimationFrameProvider {
2516
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
2516
2517
cancelAnimationFrame(handle: number): void;
2518
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
2517
2519
requestAnimationFrame(callback: FrameRequestCallback): number;
2518
2520
}
2519
2521
@@ -4882,8 +4884,6 @@ interface CSSStyleDeclaration {
4882
4884
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/mask-clip)
4883
4885
*/
4884
4886
webkitMaskClip: string;
4885
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/-webkit-mask-composite) */
4886
- webkitMaskComposite: string;
4887
4887
/**
4888
4888
* @deprecated This is a legacy alias of `maskImage`.
4889
4889
*
@@ -11528,6 +11528,7 @@ interface HTMLMediaElement extends HTMLElement {
11528
11528
preservesPitch: boolean;
11529
11529
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/readyState) */
11530
11530
readonly readyState: number;
11531
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/remote) */
11531
11532
readonly remote: RemotePlayback;
11532
11533
/**
11533
11534
* Returns a TimeRanges object that represents the ranges of the current media resource that can be seeked.
@@ -12501,6 +12502,8 @@ interface HTMLSelectElement extends HTMLElement {
12501
12502
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/setCustomValidity)
12502
12503
*/
12503
12504
setCustomValidity(error: string): void;
12505
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLSelectElement/showPicker) */
12506
+ showPicker(): void;
12504
12507
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
12505
12508
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
12506
12509
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLSelectElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -17747,7 +17750,7 @@ declare var ProgressEvent: {
17747
17750
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent) */
17748
17751
interface PromiseRejectionEvent extends Event {
17749
17752
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/promise) */
17750
- readonly promise: Promise< any> ;
17753
+ readonly promise: any;
17751
17754
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PromiseRejectionEvent/reason) */
17752
17755
readonly reason: any;
17753
17756
}
@@ -21266,6 +21269,7 @@ interface ServiceWorkerContainer extends EventTarget {
21266
21269
oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
21267
21270
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
21268
21271
onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
21272
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
21269
21273
onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
21270
21274
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
21271
21275
readonly ready: Promise<ServiceWorkerRegistration>;
@@ -25679,6 +25683,7 @@ interface WindowEventMap extends GlobalEventHandlersEventMap, WindowEventHandler
25679
25683
"DOMContentLoaded": Event;
25680
25684
"devicemotion": DeviceMotionEvent;
25681
25685
"deviceorientation": DeviceOrientationEvent;
25686
+ "deviceorientationabsolute": Event;
25682
25687
"gamepadconnected": GamepadEvent;
25683
25688
"gamepaddisconnected": GamepadEvent;
25684
25689
"orientationchange": Event;
@@ -25767,6 +25772,12 @@ interface Window extends EventTarget, AnimationFrameProvider, GlobalEventHandler
25767
25772
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
25768
25773
*/
25769
25774
ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
25775
+ /**
25776
+ * Available only in secure contexts.
25777
+ *
25778
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
25779
+ */
25780
+ ondeviceorientationabsolute: ((this: Window, ev: Event) => any) | null;
25770
25781
/**
25771
25782
* @deprecated
25772
25783
*
@@ -26011,7 +26022,11 @@ interface WindowEventHandlers {
26011
26022
onstorage: ((this: WindowEventHandlers, ev: StorageEvent) => any) | null;
26012
26023
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
26013
26024
onunhandledrejection: ((this: WindowEventHandlers, ev: PromiseRejectionEvent) => any) | null;
26014
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */
26025
+ /**
26026
+ * @deprecated
26027
+ *
26028
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
26029
+ */
26015
26030
onunload: ((this: WindowEventHandlers, ev: Event) => any) | null;
26016
26031
addEventListener<K extends keyof WindowEventHandlersEventMap>(type: K, listener: (this: WindowEventHandlers, ev: WindowEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
26017
26032
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
@@ -27382,6 +27397,12 @@ declare var ondevicemotion: ((this: Window, ev: DeviceMotionEvent) => any) | nul
27382
27397
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientation_event)
27383
27398
*/
27384
27399
declare var ondeviceorientation: ((this: Window, ev: DeviceOrientationEvent) => any) | null;
27400
+ /**
27401
+ * Available only in secure contexts.
27402
+ *
27403
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/deviceorientationabsolute_event)
27404
+ */
27405
+ declare var ondeviceorientationabsolute: ((this: Window, ev: Event) => any) | null;
27385
27406
/**
27386
27407
* @deprecated
27387
27408
*
@@ -27565,7 +27586,9 @@ declare function toString(): string;
27565
27586
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent)
27566
27587
*/
27567
27588
declare function dispatchEvent(event: Event): boolean;
27589
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/cancelAnimationFrame) */
27568
27590
declare function cancelAnimationFrame(handle: number): void;
27591
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/requestAnimationFrame) */
27569
27592
declare function requestAnimationFrame(callback: FrameRequestCallback): number;
27570
27593
/**
27571
27594
* Fires when the user aborts the download.
@@ -28035,7 +28058,11 @@ declare var onrejectionhandled: ((this: Window, ev: PromiseRejectionEvent) => an
28035
28058
declare var onstorage: ((this: Window, ev: StorageEvent) => any) | null;
28036
28059
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unhandledrejection_event) */
28037
28060
declare var onunhandledrejection: ((this: Window, ev: PromiseRejectionEvent) => any) | null;
28038
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event) */
28061
+ /**
28062
+ * @deprecated
28063
+ *
28064
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/unload_event)
28065
+ */
28039
28066
declare var onunload: ((this: Window, ev: Event) => any) | null;
28040
28067
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/localStorage) */
28041
28068
declare var localStorage: Storage;
0 commit comments