@types/webworker 0.0.7 → 0.0.9
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 +2 -2
- package/package.json +1 -1
- package/ts5.5/index.d.ts +2 -2
- package/ts5.6/index.d.ts +2 -2
package/README.md
CHANGED
|
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
45
45
|
|
|
46
46
|
## Deploy Metadata
|
|
47
47
|
|
|
48
|
-
You can read what changed in version 0.0.
|
|
48
|
+
You can read what changed in version 0.0.9 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.9.
|
package/index.d.ts
CHANGED
|
@@ -2222,7 +2222,7 @@ interface Crypto {
|
|
|
2222
2222
|
*/
|
|
2223
2223
|
readonly subtle: SubtleCrypto;
|
|
2224
2224
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
|
|
2225
|
-
getRandomValues<T extends ArrayBufferView
|
|
2225
|
+
getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Available only in secure contexts.
|
|
2228
2228
|
*
|
|
@@ -6193,7 +6193,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6193
6193
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
6194
6194
|
unregister(): Promise<boolean>;
|
|
6195
6195
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
6196
|
-
update(): Promise<
|
|
6196
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
6197
6197
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6198
6198
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6199
6199
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -2222,7 +2222,7 @@ interface Crypto {
|
|
|
2222
2222
|
*/
|
|
2223
2223
|
readonly subtle: SubtleCrypto;
|
|
2224
2224
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
|
|
2225
|
-
getRandomValues<T extends ArrayBufferView
|
|
2225
|
+
getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Available only in secure contexts.
|
|
2228
2228
|
*
|
|
@@ -6193,7 +6193,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6193
6193
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
6194
6194
|
unregister(): Promise<boolean>;
|
|
6195
6195
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
6196
|
-
update(): Promise<
|
|
6196
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
6197
6197
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6198
6198
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6199
6199
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -2222,7 +2222,7 @@ interface Crypto {
|
|
|
2222
2222
|
*/
|
|
2223
2223
|
readonly subtle: SubtleCrypto;
|
|
2224
2224
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
|
|
2225
|
-
getRandomValues<T extends ArrayBufferView
|
|
2225
|
+
getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Available only in secure contexts.
|
|
2228
2228
|
*
|
|
@@ -6193,7 +6193,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
6193
6193
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
6194
6194
|
unregister(): Promise<boolean>;
|
|
6195
6195
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
6196
|
-
update(): Promise<
|
|
6196
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
6197
6197
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6198
6198
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6199
6199
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|