diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index d13f8156e43e3..6081ae9a41932 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -1355,7 +1355,12 @@ namespace ts { 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 */ diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/ignoreDeprecations/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/ignoreDeprecations/tsconfig.json new file mode 100644 index 0000000000000..bb117308adcf3 --- /dev/null +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/ignoreDeprecations/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "ignoreDeprecations": "someString" + } +}