mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Add --allowArbitraryExtensions, a flag for allowing arbitrary extensions on import paths (#51435)
This commit is contained in:
1 parent
9b718d0a70
commit
89e928e8b4
118 files changed
+3056
-1401
No files matched your search
@@ -1206,6 +1206,14 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
|
||||
description: Diagnostics.Enable_importing_json_files,
|
||||
defaultValueDescription: false,
|
||||
},
|
||||
{
|
||||
name: "allowArbitraryExtensions",
|
||||
type: "boolean",
|
||||
affectsModuleResolution: true,
|
||||
category: Diagnostics.Modules,
|
||||
description: Diagnostics.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,
|
||||
defaultValueDescription: false,
|
||||
},
|
||||
|
||||
{
|
||||
name: "out",
|
||||
|
||||
Reference in new issue
Block a user