Skip to content

Commit

Permalink
Revert "feat(unstable): enable importsNotUsedAsValues by default (den…
Browse files Browse the repository at this point in the history
…oland#7413)"

This reverts commit fbb18d4.
  • Loading branch information
nayeemrmn committed Oct 2, 2020
1 parent 63efa5f commit dae90c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions cli/tsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,6 @@ impl TsCompiler {
"inlineSourceMap": true,
// TODO(lucacasonato): enable this by default in 1.5.0
"isolatedModules": unstable,
"importsNotUsedAsValues": if unstable { "error" } else { "remove" },
"jsx": "react",
"lib": lib,
"module": "esnext",
Expand Down Expand Up @@ -1110,7 +1109,6 @@ pub async fn runtime_compile(
"esModuleInterop": true,
// TODO(lucacasonato): enable this by default in 1.5.0
"isolatedModules": unstable,
"importsNotUsedAsValues": if unstable { "error" } else { "remove" },
"jsx": "react",
"module": "esnext",
"sourceMap": true,
Expand Down
3 changes: 1 addition & 2 deletions std/tsconfig_test.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"isolatedModules": true,
"importsNotUsedAsValues": "error"
"isolatedModules": true
}
}

0 comments on commit dae90c6

Please sign in to comment.