@types/sharedworker 0.0.175 → 0.0.177

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
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.175 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.175.
31
+ You can read what changed in version 0.0.177 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.177.
package/index.d.ts CHANGED
@@ -3130,7 +3130,7 @@ interface Event {
3130
3130
  */
3131
3131
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
3132
3132
  /**
3133
- * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
3133
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
3134
3134
  *
3135
3135
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
3136
3136
  */
@@ -4154,13 +4154,13 @@ interface IDBIndex {
4154
4154
  *
4155
4155
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
4156
4156
  */
4157
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4157
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4158
4158
  /**
4159
4159
  * 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.
4160
4160
  *
4161
4161
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
4162
4162
  */
4163
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4163
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4164
4164
  /**
4165
4165
  * 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.
4166
4166
  *
@@ -4336,13 +4336,13 @@ interface IDBObjectStore {
4336
4336
  *
4337
4337
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
4338
4338
  */
4339
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4339
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4340
4340
  /**
4341
4341
  * 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.
4342
4342
  *
4343
4343
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
4344
4344
  */
4345
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4345
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4346
4346
  /**
4347
4347
  * The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
4348
4348
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.175",
3
+ "version": "0.0.177",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -3130,7 +3130,7 @@ interface Event {
3130
3130
  */
3131
3131
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
3132
3132
  /**
3133
- * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
3133
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
3134
3134
  *
3135
3135
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
3136
3136
  */
@@ -4154,13 +4154,13 @@ interface IDBIndex {
4154
4154
  *
4155
4155
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
4156
4156
  */
4157
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4157
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4158
4158
  /**
4159
4159
  * 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.
4160
4160
  *
4161
4161
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
4162
4162
  */
4163
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4163
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4164
4164
  /**
4165
4165
  * 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.
4166
4166
  *
@@ -4336,13 +4336,13 @@ interface IDBObjectStore {
4336
4336
  *
4337
4337
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
4338
4338
  */
4339
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4339
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4340
4340
  /**
4341
4341
  * 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.
4342
4342
  *
4343
4343
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
4344
4344
  */
4345
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4345
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4346
4346
  /**
4347
4347
  * The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
4348
4348
  *
package/ts5.6/index.d.ts CHANGED
@@ -3130,7 +3130,7 @@ interface Event {
3130
3130
  */
3131
3131
  initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void;
3132
3132
  /**
3133
- * The **`preventDefault()`** method of the Event interface tells the user agent that if the event does not get explicitly handled, its default action should not be taken as it normally would be.
3133
+ * The **`preventDefault()`** method of the Event interface tells the user agent that the event is being explicitly handled, so its default action, such as page scrolling, link navigation, or pasting text, should not be taken.
3134
3134
  *
3135
3135
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Event/preventDefault)
3136
3136
  */
@@ -4154,13 +4154,13 @@ interface IDBIndex {
4154
4154
  *
4155
4155
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
4156
4156
  */
4157
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4157
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4158
4158
  /**
4159
4159
  * 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.
4160
4160
  *
4161
4161
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
4162
4162
  */
4163
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4163
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4164
4164
  /**
4165
4165
  * 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.
4166
4166
  *
@@ -4336,13 +4336,13 @@ interface IDBObjectStore {
4336
4336
  *
4337
4337
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
4338
4338
  */
4339
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4339
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4340
4340
  /**
4341
4341
  * 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.
4342
4342
  *
4343
4343
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
4344
4344
  */
4345
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4345
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4346
4346
  /**
4347
4347
  * The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
4348
4348
  *