@types/serviceworker 0.0.134 → 0.0.136
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
|
@@ -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.
|
|
31
|
+
You can read what changed in version 0.0.136 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.136.
|
package/index.d.ts
CHANGED
|
@@ -1860,7 +1860,7 @@ interface Crypto {
|
|
|
1860
1860
|
*/
|
|
1861
1861
|
readonly subtle: SubtleCrypto;
|
|
1862
1862
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
|
|
1863
|
-
getRandomValues<T extends ArrayBufferView
|
|
1863
|
+
getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Available only in secure contexts.
|
|
1866
1866
|
*
|
|
@@ -5442,7 +5442,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
5442
5442
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
5443
5443
|
unregister(): Promise<boolean>;
|
|
5444
5444
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
5445
|
-
update(): Promise<
|
|
5445
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
5446
5446
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5447
5447
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5448
5448
|
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
|
@@ -1860,7 +1860,7 @@ interface Crypto {
|
|
|
1860
1860
|
*/
|
|
1861
1861
|
readonly subtle: SubtleCrypto;
|
|
1862
1862
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
|
|
1863
|
-
getRandomValues<T extends ArrayBufferView
|
|
1863
|
+
getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Available only in secure contexts.
|
|
1866
1866
|
*
|
|
@@ -5442,7 +5442,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
5442
5442
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
5443
5443
|
unregister(): Promise<boolean>;
|
|
5444
5444
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
5445
|
-
update(): Promise<
|
|
5445
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
5446
5446
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5447
5447
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5448
5448
|
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
|
@@ -1860,7 +1860,7 @@ interface Crypto {
|
|
|
1860
1860
|
*/
|
|
1861
1861
|
readonly subtle: SubtleCrypto;
|
|
1862
1862
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) */
|
|
1863
|
-
getRandomValues<T extends ArrayBufferView
|
|
1863
|
+
getRandomValues<T extends ArrayBufferView>(array: T): T;
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Available only in secure contexts.
|
|
1866
1866
|
*
|
|
@@ -5442,7 +5442,7 @@ interface ServiceWorkerRegistration extends EventTarget {
|
|
|
5442
5442
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
|
|
5443
5443
|
unregister(): Promise<boolean>;
|
|
5444
5444
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
|
|
5445
|
-
update(): Promise<
|
|
5445
|
+
update(): Promise<ServiceWorkerRegistration>;
|
|
5446
5446
|
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
5447
5447
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
5448
5448
|
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|