importsNotUsedAsValue affects semantic diagnostics (#36001)

* importsNotUsedAsValue affects semantic diagnostics

* add tests
This commit is contained in:
Klaus Meinhardt
2020-01-16 00:08:17 +01:00
committed by Sheetal Nandi
parent 81a942e7b9
commit f220e62ce7
3 changed files with 279 additions and 0 deletions

View File

@@ -480,6 +480,7 @@ namespace ts {
error: importsNotUsedAsValues.Error
}),
affectsEmit: true,
affectsSemanticDiagnostics: true,
category: Diagnostics.Advanced_Options,
description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types
},