diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-01-14 15:18:42 +1000 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-14 00:18:42 -0500 |
commit | 7d08db2191526524bf9a7a45b97952c533a6aa74 (patch) | |
tree | ac22901252e90ec7c183eceffadbb1ef84a8ee1c /js/compiler.ts | |
parent | de9c67a702cd031028a0cb817c24f49ffab97f0a (diff) |
Fix JSON Modules (#1514)
Diffstat (limited to 'js/compiler.ts')
-rw-r--r-- | js/compiler.ts | 1 |
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, |