summaryrefslogtreecommitdiff
path: root/js/compiler.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2018-10-25 06:26:21 +1100
committerRyan Dahl <ry@tinyclouds.org>2018-10-24 15:29:30 -0700
commit2cfa60832496902089b9d73d3954318aa8a1fe2a (patch)
treea5aa3682034f4d3e33d8e115874b576bcc0ffa13 /js/compiler.ts
parent0501330607b000e0913994e633b76410e1fd162c (diff)
Support CheckJS
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 c872afa14..bac328937 100644
--- a/js/compiler.ts
+++ b/js/compiler.ts
@@ -152,6 +152,7 @@ export class DenoCompiler
// arguments
private readonly _options: Readonly<ts.CompilerOptions> = {
allowJs: true,
+ checkJs: true,
module: ts.ModuleKind.AMD,
outDir: "$deno$",
// TODO https://github.com/denoland/deno/issues/23