@types/sharedworker 0.0.93 → 0.0.94
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/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.94 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.94.
|
package/index.d.ts
CHANGED
|
@@ -5604,7 +5604,7 @@ interface WindowOrWorkerGlobalScope {
|
|
|
5604
5604
|
reportError(e: any): void;
|
|
5605
5605
|
setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
5606
5606
|
setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
5607
|
-
structuredClone(value:
|
|
5607
|
+
structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
5608
5608
|
}
|
|
5609
5609
|
|
|
5610
5610
|
interface WorkerEventMap extends AbstractWorkerEventMap {
|
|
@@ -6142,7 +6142,7 @@ declare function queueMicrotask(callback: VoidFunction): void;
|
|
|
6142
6142
|
declare function reportError(e: any): void;
|
|
6143
6143
|
declare function setInterval(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
6144
6144
|
declare function setTimeout(handler: TimerHandler, timeout?: number, ...arguments: any[]): number;
|
|
6145
|
-
declare function structuredClone(value:
|
|
6145
|
+
declare function structuredClone<T = any>(value: T, options?: StructuredSerializeOptions): T;
|
|
6146
6146
|
declare function addEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
6147
6147
|
declare function addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
6148
6148
|
declare function removeEventListener<K extends keyof SharedWorkerGlobalScopeEventMap>(type: K, listener: (this: SharedWorkerGlobalScope, ev: SharedWorkerGlobalScopeEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|