summaryrefslogtreecommitdiff
path: root/js/compiler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/compiler.ts')
-rw-r--r--js/compiler.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/compiler.ts b/js/compiler.ts
index 842ee77b3..f38330c04 100644
--- a/js/compiler.ts
+++ b/js/compiler.ts
@@ -137,6 +137,7 @@ export class Compiler
private readonly _options: ts.CompilerOptions = {
allowJs: true,
checkJs: true,
+ esModuleInterop: true,
module: ts.ModuleKind.ESNext,
outDir: "$deno$",
resolveJsonModule: true,