diff --git a/cli/tsc.rs b/cli/tsc.rs index f1e49167aa..a550fe07eb 100644 --- a/cli/tsc.rs +++ b/cli/tsc.rs @@ -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", @@ -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, diff --git a/std/tsconfig_test.json b/std/tsconfig_test.json index 2d2123fac9..8dee5fa2a4 100644 --- a/std/tsconfig_test.json +++ b/std/tsconfig_test.json @@ -1,6 +1,5 @@ { "compilerOptions": { - "isolatedModules": true, - "importsNotUsedAsValues": "error" + "isolatedModules": true } }