@types/web 0.0.134 → 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 +12 -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.135 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.135.
|
package/index.d.ts
CHANGED
|
@@ -10117,6 +10117,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
10117
10117
|
spellcheck: boolean;
|
|
10118
10118
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/title) */
|
|
10119
10119
|
title: string;
|
|
10120
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/translate) */
|
|
10120
10121
|
translate: boolean;
|
|
10121
10122
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/attachInternals) */
|
|
10122
10123
|
attachInternals(): ElementInternals;
|
|
@@ -11301,7 +11302,11 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
|
|
|
11301
11302
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/href)
|
|
11302
11303
|
*/
|
|
11303
11304
|
href: string;
|
|
11304
|
-
/**
|
|
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
|
+
*/
|
|
11305
11310
|
hreflang: string;
|
|
11306
11311
|
imageSizes: string;
|
|
11307
11312
|
imageSrcset: string;
|
|
@@ -12093,6 +12098,7 @@ declare var HTMLOptionsCollection: {
|
|
|
12093
12098
|
};
|
|
12094
12099
|
|
|
12095
12100
|
interface HTMLOrSVGElement {
|
|
12101
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/autofocus) */
|
|
12096
12102
|
autofocus: boolean;
|
|
12097
12103
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/dataset) */
|
|
12098
12104
|
readonly dataset: DOMStringMap;
|
|
@@ -12343,6 +12349,7 @@ interface HTMLScriptElement extends HTMLElement {
|
|
|
12343
12349
|
* @deprecated
|
|
12344
12350
|
*/
|
|
12345
12351
|
charset: string;
|
|
12352
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/crossOrigin) */
|
|
12346
12353
|
crossOrigin: string | null;
|
|
12347
12354
|
/** Sets or retrieves the status of the script. */
|
|
12348
12355
|
defer: boolean;
|
|
@@ -13514,8 +13521,11 @@ declare var Headers: {
|
|
|
13514
13521
|
new(init?: HeadersInit): Headers;
|
|
13515
13522
|
};
|
|
13516
13523
|
|
|
13524
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight) */
|
|
13517
13525
|
interface Highlight {
|
|
13526
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/priority) */
|
|
13518
13527
|
priority: number;
|
|
13528
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Highlight/type) */
|
|
13519
13529
|
type: HighlightType;
|
|
13520
13530
|
forEach(callbackfn: (value: AbstractRange, key: AbstractRange, parent: Highlight) => void, thisArg?: any): void;
|
|
13521
13531
|
}
|
|
@@ -13525,6 +13535,7 @@ declare var Highlight: {
|
|
|
13525
13535
|
new(...initialRanges: AbstractRange[]): Highlight;
|
|
13526
13536
|
};
|
|
13527
13537
|
|
|
13538
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HighlightRegistry) */
|
|
13528
13539
|
interface HighlightRegistry {
|
|
13529
13540
|
forEach(callbackfn: (value: Highlight, key: string, parent: HighlightRegistry) => void, thisArg?: any): void;
|
|
13530
13541
|
}
|