Skip to content

Commit 69e88ef

Browse files
Port ignore deprecations to 4.9 (#52419)
1 parent daf4e81 commit 69e88ef

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/compiler/commandLineParser.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,12 @@ namespace ts {
13551355
description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
13561356
category: Diagnostics.Language_and_Environment,
13571357
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,
1358-
}
1358+
},
1359+
{
1360+
name: "ignoreDeprecations",
1361+
type: "string",
1362+
defaultValueDescription: undefined,
1363+
},
13591364
];
13601365

13611366
/* @internal */
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"compilerOptions": {
3+
"ignoreDeprecations": "someString"
4+
}
5+
}

0 commit comments

Comments
 (0)