summaryrefslogtreecommitdiff
path: root/cli/module_graph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/module_graph.rs')
-rw-r--r--cli/module_graph.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/module_graph.rs b/cli/module_graph.rs
index 44939e68f..66fca5342 100644
--- a/cli/module_graph.rs
+++ b/cli/module_graph.rs
@@ -831,6 +831,8 @@ impl Graph {
"target": "esnext",
"tsBuildInfoFile": "deno:///.tsbuildinfo",
"useDefineForClassFields": true,
+ // TODO(@kitsonk) remove for Deno 1.15
+ "useUnknownInCatchVariables": false,
}));
if options.emit {
config.merge(&json!({
@@ -991,6 +993,8 @@ impl Graph {
"strict": true,
"target": "esnext",
"useDefineForClassFields": true,
+ // TODO(@kitsonk) remove for Deno 1.15
+ "useUnknownInCatchVariables": false,
}));
let opts = match options.bundle_type {
BundleType::Module | BundleType::Classic => json!({