mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
feat(51000) - Flag Deprecation Plan (#51424)
* feat(51000): add ignoreDeprecations option * use constants of versions * change the ignoreDeprecations type to allow only one value - '5.0' * add tests * update baseline * add typeScriptVersion to CreateProgramOptions * update baseline * change diagnostic message
This commit is contained in:
1 parent
e0bfac531b
commit
fe185272cf
518 files changed
+6322
-95
No files matched your search
@@ -1510,7 +1510,12 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
|
||||
description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
||||
category: Diagnostics.Language_and_Environment,
|
||||
defaultValueDescription: Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
||||
}
|
||||
},
|
||||
{
|
||||
name: "ignoreDeprecations",
|
||||
type: "string",
|
||||
defaultValueDescription: undefined,
|
||||
},
|
||||
];
|
||||
|
||||
/** @internal */
|
||||
|
||||
Reference in new issue
Block a user