summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno_runtime.d.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-01-21 15:53:29 +0100
committerGitHub <noreply@github.com>2020-01-21 15:53:29 +0100
commit5e2fd183ff1fe240ddbd864dbf1e6a0941fb4582 (patch)
treebf550552bd54e7adbd87749ae663b8fafb2c4f0d /cli/js/lib.deno_runtime.d.ts
parent0cd605515c99458fa80cd4a1a3906f3db37a86ca (diff)
refactor: Rename JS entry functions (#3732)
Diffstat (limited to 'cli/js/lib.deno_runtime.d.ts')
-rw-r--r--cli/js/lib.deno_runtime.d.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/js/lib.deno_runtime.d.ts b/cli/js/lib.deno_runtime.d.ts
index c867213ee..efdf06347 100644
--- a/cli/js/lib.deno_runtime.d.ts
+++ b/cli/js/lib.deno_runtime.d.ts
@@ -2175,7 +2175,7 @@ declare interface Window {
performance: __performanceUtil.Performance;
onmessage: (e: { data: any }) => void;
onerror: undefined | typeof onerror;
- workerMain: typeof __workerMain.workerMain;
+ bootstrapWorkerRuntime: typeof __workerMain.bootstrapWorkerRuntime;
workerClose: typeof __workerMain.workerClose;
postMessage: typeof __workerMain.postMessage;
Worker: typeof __workers.WorkerImpl;
@@ -2234,7 +2234,7 @@ declare let onerror:
e: Event
) => boolean | void)
| undefined;
-declare const workerMain: typeof __workerMain.workerMain;
+declare const bootstrapWorkerRuntime: typeof __workerMain.bootstrapWorkerRuntime;
declare const workerClose: typeof __workerMain.workerClose;
declare const postMessage: typeof __workerMain.postMessage;
declare const Worker: typeof __workers.WorkerImpl;
@@ -3490,7 +3490,7 @@ declare namespace __workerMain {
export function getMessage(): Promise<any>;
export let isClosing: boolean;
export function workerClose(): void;
- export function workerMain(): Promise<void>;
+ export function bootstrapWorkerRuntime(): Promise<void>;
}
declare namespace __workers {