summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-03-25 05:23:24 +0100
committerRyan Dahl <ry@tinyclouds.org>2019-03-25 00:23:24 -0400
commit5ae78eb1de378f04d0b9d54842bcb898053467d6 (patch)
tree4d0d6a97e6af1f3c3a0a70f1ebe34bdd9d32ac3e /js/globals.ts
parent3cc90d9bcf4be58bf88b433ae410f42fa4ad69c7 (diff)
Update ts_library_builder (#1920)
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;
+}