@types/web 0.0.135 → 0.0.136
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 +41 -6
- 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.136 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.136.
|
package/index.d.ts
CHANGED
|
@@ -203,6 +203,9 @@ interface ChannelSplitterOptions extends AudioNodeOptions {
|
|
|
203
203
|
interface CheckVisibilityOptions {
|
|
204
204
|
checkOpacity?: boolean;
|
|
205
205
|
checkVisibilityCSS?: boolean;
|
|
206
|
+
contentVisibilityAuto?: boolean;
|
|
207
|
+
opacityProperty?: boolean;
|
|
208
|
+
visibilityProperty?: boolean;
|
|
206
209
|
}
|
|
207
210
|
|
|
208
211
|
interface ClientQueryOptions {
|
|
@@ -8714,7 +8717,7 @@ interface Gamepad {
|
|
|
8714
8717
|
readonly mapping: GamepadMappingType;
|
|
8715
8718
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Gamepad/timestamp) */
|
|
8716
8719
|
readonly timestamp: DOMHighResTimeStamp;
|
|
8717
|
-
readonly vibrationActuator: GamepadHapticActuator
|
|
8720
|
+
readonly vibrationActuator: GamepadHapticActuator;
|
|
8718
8721
|
}
|
|
8719
8722
|
|
|
8720
8723
|
declare var Gamepad: {
|
|
@@ -8764,8 +8767,6 @@ declare var GamepadEvent: {
|
|
|
8764
8767
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator)
|
|
8765
8768
|
*/
|
|
8766
8769
|
interface GamepadHapticActuator {
|
|
8767
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/type) */
|
|
8768
|
-
readonly type: GamepadHapticActuatorType;
|
|
8769
8770
|
playEffect(type: GamepadHapticEffectType, params?: GamepadEffectParameters): Promise<GamepadHapticsResult>;
|
|
8770
8771
|
reset(): Promise<GamepadHapticsResult>;
|
|
8771
8772
|
}
|
|
@@ -9476,6 +9477,7 @@ interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9476
9477
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name)
|
|
9477
9478
|
*/
|
|
9478
9479
|
name: string;
|
|
9480
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/ping) */
|
|
9479
9481
|
ping: string;
|
|
9480
9482
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/referrerPolicy) */
|
|
9481
9483
|
referrerPolicy: string;
|
|
@@ -9553,6 +9555,7 @@ interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
|
9553
9555
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref)
|
|
9554
9556
|
*/
|
|
9555
9557
|
noHref: boolean;
|
|
9558
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/ping) */
|
|
9556
9559
|
ping: string;
|
|
9557
9560
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/referrerPolicy) */
|
|
9558
9561
|
referrerPolicy: string;
|
|
@@ -10148,7 +10151,11 @@ declare var HTMLElement: {
|
|
|
10148
10151
|
interface HTMLEmbedElement extends HTMLElement {
|
|
10149
10152
|
/** @deprecated */
|
|
10150
10153
|
align: string;
|
|
10151
|
-
/**
|
|
10154
|
+
/**
|
|
10155
|
+
* Sets or retrieves the height of the object.
|
|
10156
|
+
*
|
|
10157
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/height)
|
|
10158
|
+
*/
|
|
10152
10159
|
height: string;
|
|
10153
10160
|
/**
|
|
10154
10161
|
* Sets or retrieves the name of the object.
|
|
@@ -10158,7 +10165,11 @@ interface HTMLEmbedElement extends HTMLElement {
|
|
|
10158
10165
|
/** Sets or retrieves a URL to be loaded by the object. */
|
|
10159
10166
|
src: string;
|
|
10160
10167
|
type: string;
|
|
10161
|
-
/**
|
|
10168
|
+
/**
|
|
10169
|
+
* Sets or retrieves the width of the object.
|
|
10170
|
+
*
|
|
10171
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLEmbedElement/width)
|
|
10172
|
+
*/
|
|
10162
10173
|
width: string;
|
|
10163
10174
|
getSVGDocument(): Document | null;
|
|
10164
10175
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLEmbedElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13453,11 +13464,13 @@ interface HTMLVideoElement extends HTMLMediaElement {
|
|
|
13453
13464
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width)
|
|
13454
13465
|
*/
|
|
13455
13466
|
width: number;
|
|
13467
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) */
|
|
13456
13468
|
cancelVideoFrameCallback(handle: number): void;
|
|
13457
13469
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality) */
|
|
13458
13470
|
getVideoPlaybackQuality(): VideoPlaybackQuality;
|
|
13459
13471
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */
|
|
13460
13472
|
requestPictureInPicture(): Promise<PictureInPictureWindow>;
|
|
13473
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) */
|
|
13461
13474
|
requestVideoFrameCallback(callback: VideoFrameRequestCallback): number;
|
|
13462
13475
|
addEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13463
13476
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -14539,6 +14552,29 @@ declare var KeyframeEffect: {
|
|
|
14539
14552
|
new(source: KeyframeEffect): KeyframeEffect;
|
|
14540
14553
|
};
|
|
14541
14554
|
|
|
14555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) */
|
|
14556
|
+
interface LargestContentfulPaint extends PerformanceEntry {
|
|
14557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) */
|
|
14558
|
+
readonly element: Element | null;
|
|
14559
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) */
|
|
14560
|
+
readonly id: string;
|
|
14561
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */
|
|
14562
|
+
readonly loadTime: DOMHighResTimeStamp;
|
|
14563
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
|
|
14564
|
+
readonly renderTime: DOMHighResTimeStamp;
|
|
14565
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) */
|
|
14566
|
+
readonly size: number;
|
|
14567
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) */
|
|
14568
|
+
readonly url: string;
|
|
14569
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) */
|
|
14570
|
+
toJSON(): any;
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
declare var LargestContentfulPaint: {
|
|
14574
|
+
prototype: LargestContentfulPaint;
|
|
14575
|
+
new(): LargestContentfulPaint;
|
|
14576
|
+
};
|
|
14577
|
+
|
|
14542
14578
|
interface LinkStyle {
|
|
14543
14579
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sheet) */
|
|
14544
14580
|
readonly sheet: CSSStyleSheet | null;
|
|
@@ -28277,7 +28313,6 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
28277
28313
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
28278
28314
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
28279
28315
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
28280
|
-
type GamepadHapticActuatorType = "vibration";
|
|
28281
28316
|
type GamepadHapticEffectType = "dual-rumble";
|
|
28282
28317
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
28283
28318
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|