summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 45a4ccb01..af99ae7e0 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -104,3 +104,10 @@ export type TextDecoder = textEncoding.TextDecoder;
window.performance = new performanceUtil.Performance();
window.workerMain = workers.workerMain;
+
+// below are interfaces that are available in TypeScript but
+// have different signatures
+export interface ImportMeta {
+ url: string;
+ main: boolean;
+}