@types/web 0.0.164 → 0.0.165
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 +38 -5
- package/package.json +1 -1
- package/ts5.5/index.d.ts +38 -5
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.165 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.165.
|
package/index.d.ts
CHANGED
|
@@ -11352,9 +11352,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11352
11352
|
autocomplete: AutoFill;
|
|
11353
11353
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
|
|
11354
11354
|
capture: string;
|
|
11355
|
-
/**
|
|
11355
|
+
/**
|
|
11356
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
11357
|
+
*
|
|
11358
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
11359
|
+
*/
|
|
11356
11360
|
checked: boolean;
|
|
11357
|
-
/**
|
|
11361
|
+
/**
|
|
11362
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
11363
|
+
*
|
|
11364
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)
|
|
11365
|
+
*/
|
|
11358
11366
|
defaultChecked: boolean;
|
|
11359
11367
|
/**
|
|
11360
11368
|
* Sets or retrieves the initial contents of the object.
|
|
@@ -13574,10 +13582,19 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13574
13582
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
|
|
13575
13583
|
*/
|
|
13576
13584
|
rows: number;
|
|
13585
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
|
|
13577
13586
|
selectionDirection: "forward" | "backward" | "none";
|
|
13578
|
-
/**
|
|
13587
|
+
/**
|
|
13588
|
+
* Gets or sets the end position or offset of a text selection.
|
|
13589
|
+
*
|
|
13590
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)
|
|
13591
|
+
*/
|
|
13579
13592
|
selectionEnd: number;
|
|
13580
|
-
/**
|
|
13593
|
+
/**
|
|
13594
|
+
* Gets or sets the starting position or offset of a text selection.
|
|
13595
|
+
*
|
|
13596
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)
|
|
13597
|
+
*/
|
|
13581
13598
|
selectionStart: number;
|
|
13582
13599
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
|
|
13583
13600
|
readonly textLength: number;
|
|
@@ -13621,13 +13638,18 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13621
13638
|
checkValidity(): boolean;
|
|
13622
13639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
|
|
13623
13640
|
reportValidity(): boolean;
|
|
13624
|
-
/**
|
|
13641
|
+
/**
|
|
13642
|
+
* Highlights the input area of a form element.
|
|
13643
|
+
*
|
|
13644
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select)
|
|
13645
|
+
*/
|
|
13625
13646
|
select(): void;
|
|
13626
13647
|
/**
|
|
13627
13648
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
13628
13649
|
* @param error Sets a custom error message that is displayed when a form is submitted.
|
|
13629
13650
|
*/
|
|
13630
13651
|
setCustomValidity(error: string): void;
|
|
13652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
|
|
13631
13653
|
setRangeText(replacement: string): void;
|
|
13632
13654
|
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
13633
13655
|
/**
|
|
@@ -13635,6 +13657,8 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13635
13657
|
* @param start The offset into the text field for the start of the selection.
|
|
13636
13658
|
* @param end The offset into the text field for the end of the selection.
|
|
13637
13659
|
* @param direction The direction in which the selection is performed.
|
|
13660
|
+
*
|
|
13661
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
13638
13662
|
*/
|
|
13639
13663
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
13640
13664
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20614,14 +20638,23 @@ declare var SVGLength: {
|
|
|
20614
20638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList)
|
|
20615
20639
|
*/
|
|
20616
20640
|
interface SVGLengthList {
|
|
20641
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length) */
|
|
20617
20642
|
readonly length: number;
|
|
20643
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems) */
|
|
20618
20644
|
readonly numberOfItems: number;
|
|
20645
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem) */
|
|
20619
20646
|
appendItem(newItem: SVGLength): SVGLength;
|
|
20647
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear) */
|
|
20620
20648
|
clear(): void;
|
|
20649
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem) */
|
|
20621
20650
|
getItem(index: number): SVGLength;
|
|
20651
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize) */
|
|
20622
20652
|
initialize(newItem: SVGLength): SVGLength;
|
|
20653
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore) */
|
|
20623
20654
|
insertItemBefore(newItem: SVGLength, index: number): SVGLength;
|
|
20655
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem) */
|
|
20624
20656
|
removeItem(index: number): SVGLength;
|
|
20657
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem) */
|
|
20625
20658
|
replaceItem(newItem: SVGLength, index: number): SVGLength;
|
|
20626
20659
|
[index: number]: SVGLength;
|
|
20627
20660
|
}
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -11352,9 +11352,17 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
|
|
|
11352
11352
|
autocomplete: AutoFill;
|
|
11353
11353
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/capture) */
|
|
11354
11354
|
capture: string;
|
|
11355
|
-
/**
|
|
11355
|
+
/**
|
|
11356
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
11357
|
+
*
|
|
11358
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/checked)
|
|
11359
|
+
*/
|
|
11356
11360
|
checked: boolean;
|
|
11357
|
-
/**
|
|
11361
|
+
/**
|
|
11362
|
+
* Sets or retrieves the state of the check box or radio button.
|
|
11363
|
+
*
|
|
11364
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/defaultChecked)
|
|
11365
|
+
*/
|
|
11358
11366
|
defaultChecked: boolean;
|
|
11359
11367
|
/**
|
|
11360
11368
|
* Sets or retrieves the initial contents of the object.
|
|
@@ -13574,10 +13582,19 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13574
13582
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/rows)
|
|
13575
13583
|
*/
|
|
13576
13584
|
rows: number;
|
|
13585
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionDirection) */
|
|
13577
13586
|
selectionDirection: "forward" | "backward" | "none";
|
|
13578
|
-
/**
|
|
13587
|
+
/**
|
|
13588
|
+
* Gets or sets the end position or offset of a text selection.
|
|
13589
|
+
*
|
|
13590
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionEnd)
|
|
13591
|
+
*/
|
|
13579
13592
|
selectionEnd: number;
|
|
13580
|
-
/**
|
|
13593
|
+
/**
|
|
13594
|
+
* Gets or sets the starting position or offset of a text selection.
|
|
13595
|
+
*
|
|
13596
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/selectionStart)
|
|
13597
|
+
*/
|
|
13581
13598
|
selectionStart: number;
|
|
13582
13599
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
|
|
13583
13600
|
readonly textLength: number;
|
|
@@ -13621,13 +13638,18 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13621
13638
|
checkValidity(): boolean;
|
|
13622
13639
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/reportValidity) */
|
|
13623
13640
|
reportValidity(): boolean;
|
|
13624
|
-
/**
|
|
13641
|
+
/**
|
|
13642
|
+
* Highlights the input area of a form element.
|
|
13643
|
+
*
|
|
13644
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/select)
|
|
13645
|
+
*/
|
|
13625
13646
|
select(): void;
|
|
13626
13647
|
/**
|
|
13627
13648
|
* Sets a custom error message that is displayed when a form is submitted.
|
|
13628
13649
|
* @param error Sets a custom error message that is displayed when a form is submitted.
|
|
13629
13650
|
*/
|
|
13630
13651
|
setCustomValidity(error: string): void;
|
|
13652
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setRangeText) */
|
|
13631
13653
|
setRangeText(replacement: string): void;
|
|
13632
13654
|
setRangeText(replacement: string, start: number, end: number, selectionMode?: SelectionMode): void;
|
|
13633
13655
|
/**
|
|
@@ -13635,6 +13657,8 @@ interface HTMLTextAreaElement extends HTMLElement {
|
|
|
13635
13657
|
* @param start The offset into the text field for the start of the selection.
|
|
13636
13658
|
* @param end The offset into the text field for the end of the selection.
|
|
13637
13659
|
* @param direction The direction in which the selection is performed.
|
|
13660
|
+
*
|
|
13661
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/setSelectionRange)
|
|
13638
13662
|
*/
|
|
13639
13663
|
setSelectionRange(start: number | null, end: number | null, direction?: "forward" | "backward" | "none"): void;
|
|
13640
13664
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLTextAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -20614,14 +20638,23 @@ declare var SVGLength: {
|
|
|
20614
20638
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList)
|
|
20615
20639
|
*/
|
|
20616
20640
|
interface SVGLengthList {
|
|
20641
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/length) */
|
|
20617
20642
|
readonly length: number;
|
|
20643
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/numberOfItems) */
|
|
20618
20644
|
readonly numberOfItems: number;
|
|
20645
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/appendItem) */
|
|
20619
20646
|
appendItem(newItem: SVGLength): SVGLength;
|
|
20647
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/clear) */
|
|
20620
20648
|
clear(): void;
|
|
20649
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/getItem) */
|
|
20621
20650
|
getItem(index: number): SVGLength;
|
|
20651
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/initialize) */
|
|
20622
20652
|
initialize(newItem: SVGLength): SVGLength;
|
|
20653
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/insertItemBefore) */
|
|
20623
20654
|
insertItemBefore(newItem: SVGLength, index: number): SVGLength;
|
|
20655
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/removeItem) */
|
|
20624
20656
|
removeItem(index: number): SVGLength;
|
|
20657
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGLengthList/replaceItem) */
|
|
20625
20658
|
replaceItem(newItem: SVGLength, index: number): SVGLength;
|
|
20626
20659
|
[index: number]: SVGLength;
|
|
20627
20660
|
}
|