@types/web 0.0.259 → 0.0.260
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 +8 -8
- package/package.json +1 -1
- package/ts5.5/index.d.ts +8 -8
- package/ts5.6/index.d.ts +8 -8
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.260 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.260.
|
package/index.d.ts
CHANGED
|
@@ -3329,7 +3329,7 @@ interface Attr extends Node {
|
|
|
3329
3329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
|
|
3330
3330
|
*/
|
|
3331
3331
|
value: string;
|
|
3332
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
3332
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
3333
3333
|
get textContent(): string;
|
|
3334
3334
|
set textContent(value: string | null);
|
|
3335
3335
|
}
|
|
@@ -8222,7 +8222,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
|
|
|
8222
8222
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
|
|
8223
8223
|
*/
|
|
8224
8224
|
substringData(offset: number, count: number): string;
|
|
8225
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
8225
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
8226
8226
|
get textContent(): string;
|
|
8227
8227
|
set textContent(value: string | null);
|
|
8228
8228
|
}
|
|
@@ -10683,7 +10683,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10683
10683
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10684
10684
|
*/
|
|
10685
10685
|
writeln(...text: string[]): void;
|
|
10686
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10686
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10687
10687
|
get textContent(): null;
|
|
10688
10688
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10689
10689
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10710,7 +10710,7 @@ declare var Document: {
|
|
|
10710
10710
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
10711
10711
|
readonly ownerDocument: Document;
|
|
10712
10712
|
getElementById(elementId: string): HTMLElement | null;
|
|
10713
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10714
10714
|
get textContent(): string;
|
|
10715
10715
|
set textContent(value: string | null);
|
|
10716
10716
|
}
|
|
@@ -10789,7 +10789,7 @@ interface DocumentType extends Node, ChildNode {
|
|
|
10789
10789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
|
|
10790
10790
|
*/
|
|
10791
10791
|
readonly systemId: string;
|
|
10792
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10792
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10793
10793
|
get textContent(): null;
|
|
10794
10794
|
}
|
|
10795
10795
|
|
|
@@ -11049,7 +11049,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11049
11049
|
*/
|
|
11050
11050
|
id: string;
|
|
11051
11051
|
/**
|
|
11052
|
-
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
|
|
11052
|
+
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element, omitting any shadow tree in both cases.
|
|
11053
11053
|
*
|
|
11054
11054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
|
|
11055
11055
|
*/
|
|
@@ -11264,7 +11264,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11264
11264
|
*/
|
|
11265
11265
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
11266
11266
|
/**
|
|
11267
|
-
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified
|
|
11267
|
+
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
|
|
11268
11268
|
*
|
|
11269
11269
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
|
|
11270
11270
|
*/
|
|
@@ -11392,7 +11392,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11392
11392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
|
|
11393
11393
|
*/
|
|
11394
11394
|
webkitMatchesSelector(selectors: string): boolean;
|
|
11395
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
11395
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
11396
11396
|
get textContent(): string;
|
|
11397
11397
|
set textContent(value: string | null);
|
|
11398
11398
|
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -3329,7 +3329,7 @@ interface Attr extends Node {
|
|
|
3329
3329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
|
|
3330
3330
|
*/
|
|
3331
3331
|
value: string;
|
|
3332
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
3332
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
3333
3333
|
get textContent(): string;
|
|
3334
3334
|
set textContent(value: string | null);
|
|
3335
3335
|
}
|
|
@@ -8214,7 +8214,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
|
|
|
8214
8214
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
|
|
8215
8215
|
*/
|
|
8216
8216
|
substringData(offset: number, count: number): string;
|
|
8217
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
8217
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
8218
8218
|
get textContent(): string;
|
|
8219
8219
|
set textContent(value: string | null);
|
|
8220
8220
|
}
|
|
@@ -10675,7 +10675,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10675
10675
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10676
10676
|
*/
|
|
10677
10677
|
writeln(...text: string[]): void;
|
|
10678
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10678
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10679
10679
|
get textContent(): null;
|
|
10680
10680
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10681
10681
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10702,7 +10702,7 @@ declare var Document: {
|
|
|
10702
10702
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
10703
10703
|
readonly ownerDocument: Document;
|
|
10704
10704
|
getElementById(elementId: string): HTMLElement | null;
|
|
10705
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10705
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10706
10706
|
get textContent(): string;
|
|
10707
10707
|
set textContent(value: string | null);
|
|
10708
10708
|
}
|
|
@@ -10781,7 +10781,7 @@ interface DocumentType extends Node, ChildNode {
|
|
|
10781
10781
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
|
|
10782
10782
|
*/
|
|
10783
10783
|
readonly systemId: string;
|
|
10784
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10784
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10785
10785
|
get textContent(): null;
|
|
10786
10786
|
}
|
|
10787
10787
|
|
|
@@ -11040,7 +11040,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11040
11040
|
*/
|
|
11041
11041
|
id: string;
|
|
11042
11042
|
/**
|
|
11043
|
-
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
|
|
11043
|
+
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element, omitting any shadow tree in both cases.
|
|
11044
11044
|
*
|
|
11045
11045
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
|
|
11046
11046
|
*/
|
|
@@ -11254,7 +11254,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11254
11254
|
*/
|
|
11255
11255
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
11256
11256
|
/**
|
|
11257
|
-
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified
|
|
11257
|
+
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
|
|
11258
11258
|
*
|
|
11259
11259
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
|
|
11260
11260
|
*/
|
|
@@ -11382,7 +11382,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11382
11382
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
|
|
11383
11383
|
*/
|
|
11384
11384
|
webkitMatchesSelector(selectors: string): boolean;
|
|
11385
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
11385
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
11386
11386
|
get textContent(): string;
|
|
11387
11387
|
set textContent(value: string | null);
|
|
11388
11388
|
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -3329,7 +3329,7 @@ interface Attr extends Node {
|
|
|
3329
3329
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Attr/value)
|
|
3330
3330
|
*/
|
|
3331
3331
|
value: string;
|
|
3332
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
3332
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
3333
3333
|
get textContent(): string;
|
|
3334
3334
|
set textContent(value: string | null);
|
|
3335
3335
|
}
|
|
@@ -8222,7 +8222,7 @@ interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode {
|
|
|
8222
8222
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CharacterData/substringData)
|
|
8223
8223
|
*/
|
|
8224
8224
|
substringData(offset: number, count: number): string;
|
|
8225
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
8225
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
8226
8226
|
get textContent(): string;
|
|
8227
8227
|
set textContent(value: string | null);
|
|
8228
8228
|
}
|
|
@@ -10683,7 +10683,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
10683
10683
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/writeln)
|
|
10684
10684
|
*/
|
|
10685
10685
|
writeln(...text: string[]): void;
|
|
10686
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10686
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10687
10687
|
get textContent(): null;
|
|
10688
10688
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
10689
10689
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -10710,7 +10710,7 @@ declare var Document: {
|
|
|
10710
10710
|
interface DocumentFragment extends Node, NonElementParentNode, ParentNode {
|
|
10711
10711
|
readonly ownerDocument: Document;
|
|
10712
10712
|
getElementById(elementId: string): HTMLElement | null;
|
|
10713
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10714
10714
|
get textContent(): string;
|
|
10715
10715
|
set textContent(value: string | null);
|
|
10716
10716
|
}
|
|
@@ -10789,7 +10789,7 @@ interface DocumentType extends Node, ChildNode {
|
|
|
10789
10789
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/DocumentType/systemId)
|
|
10790
10790
|
*/
|
|
10791
10791
|
readonly systemId: string;
|
|
10792
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
10792
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
10793
10793
|
get textContent(): null;
|
|
10794
10794
|
}
|
|
10795
10795
|
|
|
@@ -11049,7 +11049,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11049
11049
|
*/
|
|
11050
11050
|
id: string;
|
|
11051
11051
|
/**
|
|
11052
|
-
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element.
|
|
11052
|
+
* The **`innerHTML`** property of the Element interface gets or sets the HTML or XML markup contained within the element, omitting any shadow tree in both cases.
|
|
11053
11053
|
*
|
|
11054
11054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/innerHTML)
|
|
11055
11055
|
*/
|
|
@@ -11264,7 +11264,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11264
11264
|
*/
|
|
11265
11265
|
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
11266
11266
|
/**
|
|
11267
|
-
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified
|
|
11267
|
+
* The **`insertAdjacentHTML()`** method of the Element interface parses the specified input as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.
|
|
11268
11268
|
*
|
|
11269
11269
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/insertAdjacentHTML)
|
|
11270
11270
|
*/
|
|
@@ -11392,7 +11392,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
|
|
|
11392
11392
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/matches)
|
|
11393
11393
|
*/
|
|
11394
11394
|
webkitMatchesSelector(selectors: string): boolean;
|
|
11395
|
-
/** [MDN Reference](https://developer.mozilla.org/
|
|
11395
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
|
|
11396
11396
|
get textContent(): string;
|
|
11397
11397
|
set textContent(value: string | null);
|
|
11398
11398
|
addEventListener<K extends keyof ElementEventMap>(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|