@types/web 0.0.133 → 0.0.135
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 +19 -2
- 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.135 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.135.
|
package/index.d.ts
CHANGED
|
@@ -7711,6 +7711,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
|
|
|
7711
7711
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/attachShadow)
|
|
7712
7712
|
*/
|
|
7713
7713
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
7714
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/checkVisibility) */
|
|
7714
7715
|
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
7715
7716
|
/**
|
|
7716
7717
|
* Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise.
|
|
@@ -10116,6 +10117,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10116
10117
|
spellcheck: boolean;
|
|
10117
10118
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) */
|
|
10118
10119
|
title: string;
|
|
10120
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
|
|
10119
10121
|
translate: boolean;
|
|
10120
10122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */
|
|
10121
10123
|
attachInternals(): ElementInternals;
|
|
@@ -10997,6 +10999,7 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
10997
10999
|
/** Sets or retrieves the initial contents of the object. */
|
|
10998
11000
|
defaultValue: string;
|
|
10999
11001
|
dirName: string;
|
|
11002
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/disabled) */
|
|
11000
11003
|
disabled: boolean;
|
|
11001
11004
|
/**
|
|
11002
11005
|
* Returns a FileList object on a file type input object.
|
|
@@ -11293,9 +11296,17 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11293
11296
|
disabled: boolean;
|
|
11294
11297
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
|
|
11295
11298
|
fetchPriority: string;
|
|
11296
|
-
/**
|
|
11299
|
+
/**
|
|
11300
|
+
* Sets or retrieves a destination URL or an anchor point.
|
|
11301
|
+
*
|
|
11302
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
|
|
11303
|
+
*/
|
|
11297
11304
|
href: string;
|
|
11298
|
-
/**
|
|
11305
|
+
/**
|
|
11306
|
+
* Sets or retrieves the language code of the object.
|
|
11307
|
+
*
|
|
11308
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/hreflang)
|
|
11309
|
+
*/
|
|
11299
11310
|
hreflang: string;
|
|
11300
11311
|
imageSizes: string;
|
|
11301
11312
|
imageSrcset: string;
|
|
@@ -12087,6 +12098,7 @@ declare var HTMLOptionsCollection: {
|
|
|
12087
12098
|
};
|
|
12088
12099
|
|
|
12089
12100
|
interface HTMLOrSVGElement {
|
|
12101
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
|
|
12090
12102
|
autofocus: boolean;
|
|
12091
12103
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
|
|
12092
12104
|
readonly dataset: DOMStringMap;
|
|
@@ -12337,6 +12349,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
12337
12349
|
* @deprecated
|
|
12338
12350
|
*/
|
|
12339
12351
|
charset: string;
|
|
12352
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
|
|
12340
12353
|
crossOrigin: string | null;
|
|
12341
12354
|
/** Sets or retrieves the status of the script. */
|
|
12342
12355
|
defer: boolean;
|
|
@@ -13508,8 +13521,11 @@ declare var Headers: {
|
|
|
13508
13521
|
new(init?: HeadersInit): Headers;
|
|
13509
13522
|
};
|
|
13510
13523
|
|
|
13524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight) */
|
|
13511
13525
|
interface Highlight {
|
|
13526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority) */
|
|
13512
13527
|
priority: number;
|
|
13528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/type) */
|
|
13513
13529
|
type: HighlightType;
|
|
13514
13530
|
forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
|
|
13515
13531
|
}
|
|
@@ -13519,6 +13535,7 @@ declare var Highlight: {
|
|
|
13519
13535
|
new(...initialRanges: AbstractRange[]): Highlight;
|
|
13520
13536
|
};
|
|
13521
13537
|
|
|
13538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry) */
|
|
13522
13539
|
interface HighlightRegistry {
|
|
13523
13540
|
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
|
|
13524
13541
|
}
|