summaryrefslogtreecommitdiff
path: root/cli/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r--cli/js/globals.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts
index 53eb696ac..9a7161ff0 100644
--- a/cli/js/globals.ts
+++ b/cli/js/globals.ts
@@ -59,6 +59,11 @@ declare global {
thrown: any;
}
+ interface ImportMeta {
+ url: string;
+ main: boolean;
+ }
+
interface DenoCore {
print(s: string, isErr?: boolean): void;
dispatch(
@@ -137,6 +142,9 @@ declare global {
// Assigned to `self` global - compiler
var bootstrapTsCompilerRuntime: (() => void) | undefined;
var bootstrapWasmCompilerRuntime: (() => void) | undefined;
+
+ var performance: performanceUtil.Performance;
+ var setTimeout: typeof timers.setTimeout;
/* eslint-enable */
}