mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Update index.d.ts
Add Worker to SharedWorkerGlobalScope.
This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ declare namespace SharedWorker {
|
||||
port: MessagePort;
|
||||
}
|
||||
|
||||
interface SharedWorkerGlobalScope {
|
||||
interface SharedWorkerGlobalScope extends Worker {
|
||||
onconnect: (event: MessageEvent) => void;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user