summaryrefslogtreecommitdiff
path: root/cli/js/globals.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2020-03-19 07:45:28 -0700
committerGitHub <noreply@github.com>2020-03-19 10:45:28 -0400
commit2f3de4b4252b933ac1161ba099feaed9103ab149 (patch)
tree762b05bcfe9588897b157400b2723fadf43dc94c /cli/js/globals.ts
parent8c1c929034d46101b6a51ec5cf5e2f307ed0c271 (diff)
Simplify timer with macrotask callback (#4385)
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r--cli/js/globals.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts
index 1104762b9..ada491bde 100644
--- a/cli/js/globals.ts
+++ b/cli/js/globals.ts
@@ -91,6 +91,8 @@ declare global {
data?: ArrayBufferView
): null | Uint8Array;
+ setMacrotaskCallback(cb: () => boolean): void;
+
shared: SharedArrayBuffer;
evalContext(