@types/web 0.0.257 → 0.0.258
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 -7
- package/package.json +1 -1
- package/ts5.5/index.d.ts +19 -7
- package/ts5.6/index.d.ts +19 -7
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.258 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.258.
|
package/index.d.ts
CHANGED
|
@@ -8122,11 +8122,23 @@ interface CanvasUserInterface {
|
|
|
8122
8122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
|
|
8123
8123
|
*/
|
|
8124
8124
|
interface CaretPosition {
|
|
8125
|
-
/**
|
|
8125
|
+
/**
|
|
8126
|
+
* The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node.
|
|
8127
|
+
*
|
|
8128
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offset)
|
|
8129
|
+
*/
|
|
8126
8130
|
readonly offset: number;
|
|
8127
|
-
/**
|
|
8131
|
+
/**
|
|
8132
|
+
* The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position.
|
|
8133
|
+
*
|
|
8134
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offsetNode)
|
|
8135
|
+
*/
|
|
8128
8136
|
readonly offsetNode: Node;
|
|
8129
|
-
/**
|
|
8137
|
+
/**
|
|
8138
|
+
* The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range.
|
|
8139
|
+
*
|
|
8140
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/getClientRect)
|
|
8141
|
+
*/
|
|
8130
8142
|
getClientRect(): DOMRect | null;
|
|
8131
8143
|
}
|
|
8132
8144
|
|
|
@@ -18491,13 +18503,13 @@ interface IDBIndex {
|
|
|
18491
18503
|
*
|
|
18492
18504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
|
|
18493
18505
|
*/
|
|
18494
|
-
getAll(
|
|
18506
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
18495
18507
|
/**
|
|
18496
18508
|
* The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
|
|
18497
18509
|
*
|
|
18498
18510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
|
|
18499
18511
|
*/
|
|
18500
|
-
getAllKeys(
|
|
18512
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18501
18513
|
/**
|
|
18502
18514
|
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
|
|
18503
18515
|
*
|
|
@@ -18673,13 +18685,13 @@ interface IDBObjectStore {
|
|
|
18673
18685
|
*
|
|
18674
18686
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
18675
18687
|
*/
|
|
18676
|
-
getAll(
|
|
18688
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
18677
18689
|
/**
|
|
18678
18690
|
* The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
18679
18691
|
*
|
|
18680
18692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
|
|
18681
18693
|
*/
|
|
18682
|
-
getAllKeys(
|
|
18694
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18683
18695
|
/**
|
|
18684
18696
|
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
18685
18697
|
*
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -8114,11 +8114,23 @@ interface CanvasUserInterface {
|
|
|
8114
8114
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
|
|
8115
8115
|
*/
|
|
8116
8116
|
interface CaretPosition {
|
|
8117
|
-
/**
|
|
8117
|
+
/**
|
|
8118
|
+
* The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node.
|
|
8119
|
+
*
|
|
8120
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offset)
|
|
8121
|
+
*/
|
|
8118
8122
|
readonly offset: number;
|
|
8119
|
-
/**
|
|
8123
|
+
/**
|
|
8124
|
+
* The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position.
|
|
8125
|
+
*
|
|
8126
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offsetNode)
|
|
8127
|
+
*/
|
|
8120
8128
|
readonly offsetNode: Node;
|
|
8121
|
-
/**
|
|
8129
|
+
/**
|
|
8130
|
+
* The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range.
|
|
8131
|
+
*
|
|
8132
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/getClientRect)
|
|
8133
|
+
*/
|
|
8122
8134
|
getClientRect(): DOMRect | null;
|
|
8123
8135
|
}
|
|
8124
8136
|
|
|
@@ -18470,13 +18482,13 @@ interface IDBIndex {
|
|
|
18470
18482
|
*
|
|
18471
18483
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
|
|
18472
18484
|
*/
|
|
18473
|
-
getAll(
|
|
18485
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
18474
18486
|
/**
|
|
18475
18487
|
* The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
|
|
18476
18488
|
*
|
|
18477
18489
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
|
|
18478
18490
|
*/
|
|
18479
|
-
getAllKeys(
|
|
18491
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18480
18492
|
/**
|
|
18481
18493
|
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
|
|
18482
18494
|
*
|
|
@@ -18652,13 +18664,13 @@ interface IDBObjectStore {
|
|
|
18652
18664
|
*
|
|
18653
18665
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
18654
18666
|
*/
|
|
18655
|
-
getAll(
|
|
18667
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
18656
18668
|
/**
|
|
18657
18669
|
* The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
18658
18670
|
*
|
|
18659
18671
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
|
|
18660
18672
|
*/
|
|
18661
|
-
getAllKeys(
|
|
18673
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18662
18674
|
/**
|
|
18663
18675
|
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
18664
18676
|
*
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -8122,11 +8122,23 @@ interface CanvasUserInterface {
|
|
|
8122
8122
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition)
|
|
8123
8123
|
*/
|
|
8124
8124
|
interface CaretPosition {
|
|
8125
|
-
/**
|
|
8125
|
+
/**
|
|
8126
|
+
* The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node.
|
|
8127
|
+
*
|
|
8128
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offset)
|
|
8129
|
+
*/
|
|
8126
8130
|
readonly offset: number;
|
|
8127
|
-
/**
|
|
8131
|
+
/**
|
|
8132
|
+
* The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position.
|
|
8133
|
+
*
|
|
8134
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/offsetNode)
|
|
8135
|
+
*/
|
|
8128
8136
|
readonly offsetNode: Node;
|
|
8129
|
-
/**
|
|
8137
|
+
/**
|
|
8138
|
+
* The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range.
|
|
8139
|
+
*
|
|
8140
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CaretPosition/getClientRect)
|
|
8141
|
+
*/
|
|
8130
8142
|
getClientRect(): DOMRect | null;
|
|
8131
8143
|
}
|
|
8132
8144
|
|
|
@@ -18491,13 +18503,13 @@ interface IDBIndex {
|
|
|
18491
18503
|
*
|
|
18492
18504
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
|
|
18493
18505
|
*/
|
|
18494
|
-
getAll(
|
|
18506
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
18495
18507
|
/**
|
|
18496
18508
|
* The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
|
|
18497
18509
|
*
|
|
18498
18510
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
|
|
18499
18511
|
*/
|
|
18500
|
-
getAllKeys(
|
|
18512
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18501
18513
|
/**
|
|
18502
18514
|
* The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
|
|
18503
18515
|
*
|
|
@@ -18673,13 +18685,13 @@ interface IDBObjectStore {
|
|
|
18673
18685
|
*
|
|
18674
18686
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
|
|
18675
18687
|
*/
|
|
18676
|
-
getAll(
|
|
18688
|
+
getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
|
|
18677
18689
|
/**
|
|
18678
18690
|
* The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
|
|
18679
18691
|
*
|
|
18680
18692
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
|
|
18681
18693
|
*/
|
|
18682
|
-
getAllKeys(
|
|
18694
|
+
getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
|
|
18683
18695
|
/**
|
|
18684
18696
|
* The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
|
|
18685
18697
|
*
|