1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 16:11:13 -05:00

feat(unstable): revert "enable importsNotUsedAsValues by default #7413" (#7800)

This reverts commit fbb18d40d3.
This commit is contained in:
Nayeem Rahman 2020-10-03 15:40:26 +01:00 committed by GitHub
parent e8b93674ed
commit 315724b856
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -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,

View file

@ -1,6 +1,5 @@
{
"compilerOptions": {
"isolatedModules": true,
"importsNotUsedAsValues": "error"
"isolatedModules": true
}
}