Add verbatimModuleSyntax, deprecate importsNotUsedAsValues and preserveValueImports (#52203)

This commit is contained in:
Andrew Branch
2023-01-19 16:56:30 -08:00
committed by GitHub
parent ebbc56d0b3
commit cfe1842adf
108 changed files with 2882 additions and 377 deletions

View File

@@ -789,6 +789,13 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
transpileOptionValue: true,
defaultValueDescription: false,
},
{
name: "verbatimModuleSyntax",
type: "boolean",
category: Diagnostics.Interop_Constraints,
description: Diagnostics.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,
defaultValueDescription: false,
},
// Strict Type Checks
{