@types/web 0.0.135 → 0.0.137
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 +61 -9
- 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.137 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.137.
|
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;
|
|
@@ -10731,6 +10742,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10731
10742
|
*/
|
|
10732
10743
|
align: string;
|
|
10733
10744
|
allow: string;
|
|
10745
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/allowFullscreen) */
|
|
10734
10746
|
allowFullscreen: boolean;
|
|
10735
10747
|
/**
|
|
10736
10748
|
* Retrieves the document object of the page or frame.
|
|
@@ -10757,6 +10769,7 @@ interface HTMLIFrameElement extends HTMLElement {
|
|
|
10757
10769
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/height)
|
|
10758
10770
|
*/
|
|
10759
10771
|
height: string;
|
|
10772
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLIFrameElement/loading) */
|
|
10760
10773
|
loading: string;
|
|
10761
10774
|
/**
|
|
10762
10775
|
* Sets or retrieves a URI to a long description of the object.
|
|
@@ -11679,16 +11692,31 @@ declare var HTMLMenuElement: {
|
|
|
11679
11692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement)
|
|
11680
11693
|
*/
|
|
11681
11694
|
interface HTMLMetaElement extends HTMLElement {
|
|
11682
|
-
/**
|
|
11695
|
+
/**
|
|
11696
|
+
* Gets or sets meta-information to associate with httpEquiv or name.
|
|
11697
|
+
*
|
|
11698
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/content)
|
|
11699
|
+
*/
|
|
11683
11700
|
content: string;
|
|
11684
|
-
/**
|
|
11701
|
+
/**
|
|
11702
|
+
* Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.
|
|
11703
|
+
*
|
|
11704
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/httpEquiv)
|
|
11705
|
+
*/
|
|
11685
11706
|
httpEquiv: string;
|
|
11707
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/media) */
|
|
11686
11708
|
media: string;
|
|
11687
|
-
/**
|
|
11709
|
+
/**
|
|
11710
|
+
* Sets or retrieves the value specified in the content attribute of the meta object.
|
|
11711
|
+
*
|
|
11712
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/name)
|
|
11713
|
+
*/
|
|
11688
11714
|
name: string;
|
|
11689
11715
|
/**
|
|
11690
11716
|
* Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.
|
|
11691
11717
|
* @deprecated
|
|
11718
|
+
*
|
|
11719
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMetaElement/scheme)
|
|
11692
11720
|
*/
|
|
11693
11721
|
scheme: string;
|
|
11694
11722
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -13453,11 +13481,13 @@ interface HTMLVideoElement extends HTMLMediaElement {
|
|
|
13453
13481
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/width)
|
|
13454
13482
|
*/
|
|
13455
13483
|
width: number;
|
|
13484
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/cancelVideoFrameCallback) */
|
|
13456
13485
|
cancelVideoFrameCallback(handle: number): void;
|
|
13457
13486
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality) */
|
|
13458
13487
|
getVideoPlaybackQuality(): VideoPlaybackQuality;
|
|
13459
13488
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestPictureInPicture) */
|
|
13460
13489
|
requestPictureInPicture(): Promise<PictureInPictureWindow>;
|
|
13490
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLVideoElement/requestVideoFrameCallback) */
|
|
13461
13491
|
requestVideoFrameCallback(callback: VideoFrameRequestCallback): number;
|
|
13462
13492
|
addEventListener<K extends keyof HTMLVideoElementEventMap>(type: K, listener: (this: HTMLVideoElement, ev: HTMLVideoElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
13463
13493
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -14539,6 +14569,29 @@ declare var KeyframeEffect: {
|
|
|
14539
14569
|
new(source: KeyframeEffect): KeyframeEffect;
|
|
14540
14570
|
};
|
|
14541
14571
|
|
|
14572
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint) */
|
|
14573
|
+
interface LargestContentfulPaint extends PerformanceEntry {
|
|
14574
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/element) */
|
|
14575
|
+
readonly element: Element | null;
|
|
14576
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/id) */
|
|
14577
|
+
readonly id: string;
|
|
14578
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/loadTime) */
|
|
14579
|
+
readonly loadTime: DOMHighResTimeStamp;
|
|
14580
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/renderTime) */
|
|
14581
|
+
readonly renderTime: DOMHighResTimeStamp;
|
|
14582
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/size) */
|
|
14583
|
+
readonly size: number;
|
|
14584
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/url) */
|
|
14585
|
+
readonly url: string;
|
|
14586
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/LargestContentfulPaint/toJSON) */
|
|
14587
|
+
toJSON(): any;
|
|
14588
|
+
}
|
|
14589
|
+
|
|
14590
|
+
declare var LargestContentfulPaint: {
|
|
14591
|
+
prototype: LargestContentfulPaint;
|
|
14592
|
+
new(): LargestContentfulPaint;
|
|
14593
|
+
};
|
|
14594
|
+
|
|
14542
14595
|
interface LinkStyle {
|
|
14543
14596
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sheet) */
|
|
14544
14597
|
readonly sheet: CSSStyleSheet | null;
|
|
@@ -28277,7 +28330,6 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
28277
28330
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
28278
28331
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
28279
28332
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
28280
|
-
type GamepadHapticActuatorType = "vibration";
|
|
28281
28333
|
type GamepadHapticEffectType = "dual-rumble";
|
|
28282
28334
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
28283
28335
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|