@types/web 0.0.257 → 0.0.259

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 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.257 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.257.
50
+ You can read what changed in version 0.0.259 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.259.
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
- /** The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node. */
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
- /** The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position. */
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
- /** The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range. */
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
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
  *
@@ -21999,7 +22011,7 @@ interface NavigatorStorage {
21999
22011
  }
22000
22012
 
22001
22013
  /**
22002
- * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.
22014
+ * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types be used similarly and often interchangeably.
22003
22015
  *
22004
22016
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node)
22005
22017
  */
@@ -40061,7 +40073,7 @@ type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendre
40061
40073
  type RTCSctpTransportState = "closed" | "connected" | "connecting";
40062
40074
  type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
40063
40075
  type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
40064
- type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
40076
+ type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "succeeded" | "waiting";
40065
40077
  type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";
40066
40078
  type ReadableStreamReaderMode = "byob";
40067
40079
  type ReadableStreamType = "bytes";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.257",
3
+ "version": "0.0.259",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
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
- /** The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node. */
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
- /** The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position. */
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
- /** The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range. */
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
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
  *
@@ -21978,7 +21990,7 @@ interface NavigatorStorage {
21978
21990
  }
21979
21991
 
21980
21992
  /**
21981
- * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.
21993
+ * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types be used similarly and often interchangeably.
21982
21994
  *
21983
21995
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node)
21984
21996
  */
@@ -40038,7 +40050,7 @@ type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendre
40038
40050
  type RTCSctpTransportState = "closed" | "connected" | "connecting";
40039
40051
  type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
40040
40052
  type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
40041
- type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
40053
+ type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "succeeded" | "waiting";
40042
40054
  type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";
40043
40055
  type ReadableStreamReaderMode = "byob";
40044
40056
  type ReadableStreamType = "bytes";
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
- /** The **`offset`** property of the CaretPosition interface returns an integer representing the offset of the selection in the caret position node. */
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
- /** The **`offsetNode`** property of the CaretPosition interface returns a Node containing the found node at the caret's position. */
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
- /** The `getClientRect()` method of the CaretPosition interface returns the client rectangle for the caret range. */
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
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(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
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
  *
@@ -21999,7 +22011,7 @@ interface NavigatorStorage {
21999
22011
  }
22000
22012
 
22001
22013
  /**
22002
- * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.
22014
+ * The DOM **`Node`** interface is an abstract base class upon which many other DOM API objects are based, thus letting those object types be used similarly and often interchangeably.
22003
22015
  *
22004
22016
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node)
22005
22017
  */
@@ -40061,7 +40073,7 @@ type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendre
40061
40073
  type RTCSctpTransportState = "closed" | "connected" | "connecting";
40062
40074
  type RTCSdpType = "answer" | "offer" | "pranswer" | "rollback";
40063
40075
  type RTCSignalingState = "closed" | "have-local-offer" | "have-local-pranswer" | "have-remote-offer" | "have-remote-pranswer" | "stable";
40064
- type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "inprogress" | "succeeded" | "waiting";
40076
+ type RTCStatsIceCandidatePairState = "failed" | "frozen" | "in-progress" | "succeeded" | "waiting";
40065
40077
  type RTCStatsType = "candidate-pair" | "certificate" | "codec" | "data-channel" | "inbound-rtp" | "local-candidate" | "media-playout" | "media-source" | "outbound-rtp" | "peer-connection" | "remote-candidate" | "remote-inbound-rtp" | "remote-outbound-rtp" | "transport";
40066
40078
  type ReadableStreamReaderMode = "byob";
40067
40079
  type ReadableStreamType = "bytes";