summaryrefslogtreecommitdiff
path: root/cli/dts/lib.deno.shared_globals.d.ts
diff options
context:
space:
mode:
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;
}