Skip to content

Commit

Permalink
Port ignore deprecations to 4.9 (#52419)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanCavanaugh authored Jan 26, 2023
1 parent daf4e81 commit 69e88ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/compiler/commandLineParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"ignoreDeprecations": "someString"
}
}

0 comments on commit 69e88ef

Please sign in to comment.