summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.shared_globals.d.ts
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2021-06-21 19:53:52 +0200
committerGitHub <noreply@github.com>2021-06-21 19:53:52 +0200
commitf9ff981daf6931a01e1516db0b5714e7a94f145b (patch)
tree677a6e3f12c86210cc635e68b9afc06c4cb1d2f9 /cli/dts/lib.deno.shared_globals.d.ts
parenta2f939b99c43c6344f109144d7b01c95294a6f8b (diff)
feat: `MessageChannel` and `MessagePort` (#11051)
This commit introduces support for MessageChannel and MessagePort. MessagePorts can be transfered across other MessagePorts.
Diffstat (limited to 'cli/dts/lib.deno.shared_globals.d.ts')
-rw-r--r--cli/dts/lib.deno.shared_globals.d.ts22
1 files changed, 0 insertions, 22 deletions
diff --git a/cli/dts/lib.deno.shared_globals.d.ts b/cli/dts/lib.deno.shared_globals.d.ts
index d46a43e67..46154c64e 100644
--- a/cli/dts/lib.deno.shared_globals.d.ts
+++ b/cli/dts/lib.deno.shared_globals.d.ts
@@ -347,24 +347,6 @@ type BufferSource = ArrayBufferView | ArrayBuffer;
declare var console: Console;
-interface MessageEventInit<T = any> extends EventInit {
- data?: T;
- origin?: string;
- lastEventId?: string;
-}
-
-declare class MessageEvent<T = any> extends Event {
- /**
- * Returns the data of the message.
- */
- readonly data: T;
- /**
- * Returns the last event ID string, for server-sent events.
- */
- readonly lastEventId: string;
- constructor(type: string, eventInitDict?: MessageEventInit);
-}
-
interface ErrorEventInit extends EventInit {
message?: string;
filename?: string;
@@ -382,10 +364,6 @@ declare class ErrorEvent extends Event {
constructor(type: string, eventInitDict?: ErrorEventInit);
}
-interface PostMessageOptions {
- transfer?: any[];
-}
-
interface AbstractWorkerEventMap {
"error": ErrorEvent;
}