@types/web 0.0.310 → 0.0.311
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 +3 -2
- package/package.json +1 -1
- package/ts5.5/index.d.ts +3 -2
- package/ts5.6/index.d.ts +3 -2
- package/ts5.9/index.d.ts +3 -2
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.311 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.311.
|
package/index.d.ts
CHANGED
|
@@ -17344,7 +17344,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17344
17344
|
*
|
|
17345
17345
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection)
|
|
17346
17346
|
*/
|
|
17347
|
-
selectionDirection:
|
|
17347
|
+
selectionDirection: SelectionDirection | null;
|
|
17348
17348
|
/**
|
|
17349
17349
|
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17350
17350
|
*
|
|
@@ -17473,7 +17473,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17473
17473
|
*
|
|
17474
17474
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange)
|
|
17475
17475
|
*/
|
|
17476
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
17476
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
17477
17477
|
/**
|
|
17478
17478
|
* The **`HTMLInputElement.showPicker()`** method displays the browser picker for an input element.
|
|
17479
17479
|
*
|
|
@@ -42481,6 +42481,7 @@ type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBY
|
|
|
42481
42481
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
42482
42482
|
type ReportList = Report[];
|
|
42483
42483
|
type RequestInfo = Request | string;
|
|
42484
|
+
type SelectionDirection = "forward" | "backward" | "none";
|
|
42484
42485
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
42485
42486
|
type TimerHandler = string | Function;
|
|
42486
42487
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -17326,7 +17326,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17326
17326
|
*
|
|
17327
17327
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection)
|
|
17328
17328
|
*/
|
|
17329
|
-
selectionDirection:
|
|
17329
|
+
selectionDirection: SelectionDirection | null;
|
|
17330
17330
|
/**
|
|
17331
17331
|
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17332
17332
|
*
|
|
@@ -17455,7 +17455,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17455
17455
|
*
|
|
17456
17456
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange)
|
|
17457
17457
|
*/
|
|
17458
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
17458
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
17459
17459
|
/**
|
|
17460
17460
|
* The **`HTMLInputElement.showPicker()`** method displays the browser picker for an input element.
|
|
17461
17461
|
*
|
|
@@ -42455,6 +42455,7 @@ type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBY
|
|
|
42455
42455
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
42456
42456
|
type ReportList = Report[];
|
|
42457
42457
|
type RequestInfo = Request | string;
|
|
42458
|
+
type SelectionDirection = "forward" | "backward" | "none";
|
|
42458
42459
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
42459
42460
|
type TimerHandler = string | Function;
|
|
42460
42461
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -17341,7 +17341,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17341
17341
|
*
|
|
17342
17342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection)
|
|
17343
17343
|
*/
|
|
17344
|
-
selectionDirection:
|
|
17344
|
+
selectionDirection: SelectionDirection | null;
|
|
17345
17345
|
/**
|
|
17346
17346
|
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17347
17347
|
*
|
|
@@ -17470,7 +17470,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17470
17470
|
*
|
|
17471
17471
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange)
|
|
17472
17472
|
*/
|
|
17473
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
17473
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
17474
17474
|
/**
|
|
17475
17475
|
* The **`HTMLInputElement.showPicker()`** method displays the browser picker for an input element.
|
|
17476
17476
|
*
|
|
@@ -42478,6 +42478,7 @@ type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBY
|
|
|
42478
42478
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
42479
42479
|
type ReportList = Report[];
|
|
42480
42480
|
type RequestInfo = Request | string;
|
|
42481
|
+
type SelectionDirection = "forward" | "backward" | "none";
|
|
42481
42482
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
42482
42483
|
type TimerHandler = string | Function;
|
|
42483
42484
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -17341,7 +17341,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17341
17341
|
*
|
|
17342
17342
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/selectionDirection)
|
|
17343
17343
|
*/
|
|
17344
|
-
selectionDirection:
|
|
17344
|
+
selectionDirection: SelectionDirection | null;
|
|
17345
17345
|
/**
|
|
17346
17346
|
* The **`selectionEnd`** property of the HTMLInputElement interface is a number that represents the end index of the selected text. That is, it represents the index of the character immediately following the selection. Likewise, when there is no selection, this returns the offset of the character immediately following the current text input cursor position.
|
|
17347
17347
|
*
|
|
@@ -17470,7 +17470,7 @@ interface HTMLInputElement extends HTMLElement, PopoverTargetAttributes {
|
|
|
17470
17470
|
*
|
|
17471
17471
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/setSelectionRange)
|
|
17472
17472
|
*/
|
|
17473
|
-
setSelectionRange(start: number | null, end: number | null, direction?:
|
|
17473
|
+
setSelectionRange(start: number | null, end: number | null, direction?: SelectionDirection): void;
|
|
17474
17474
|
/**
|
|
17475
17475
|
* The **`HTMLInputElement.showPicker()`** method displays the browser picker for an input element.
|
|
17476
17476
|
*
|
|
@@ -42478,6 +42478,7 @@ type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBY
|
|
|
42478
42478
|
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
42479
42479
|
type ReportList = Report[];
|
|
42480
42480
|
type RequestInfo = Request | string;
|
|
42481
|
+
type SelectionDirection = "forward" | "backward" | "none";
|
|
42481
42482
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
42482
42483
|
type TimerHandler = string | Function;
|
|
42483
42484
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHandle | ReadableStream | WritableStream | TransformStream | AudioData | VideoFrame | RTCDataChannel | ArrayBuffer;
|