Merge pull request #10834 from krizalys/fix-10833
Added a STRATEGY placeholder for the --moduleResolution option
This commit is contained in:
commit
8fa39f3763
2 changed files with 6 additions and 1 deletions
|
@ -294,6 +294,7 @@ namespace ts {
|
||||||
"classic": ModuleResolutionKind.Classic,
|
"classic": ModuleResolutionKind.Classic,
|
||||||
}),
|
}),
|
||||||
description: Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6,
|
description: Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6,
|
||||||
|
paramType: Diagnostics.STRATEGY,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "allowUnusedLabels",
|
name: "allowUnusedLabels",
|
||||||
|
|
|
@ -2464,6 +2464,10 @@
|
||||||
"category": "Message",
|
"category": "Message",
|
||||||
"code": 6038
|
"code": 6038
|
||||||
},
|
},
|
||||||
|
"STRATEGY": {
|
||||||
|
"category": "Message",
|
||||||
|
"code": 6039
|
||||||
|
},
|
||||||
"Compilation complete. Watching for file changes.": {
|
"Compilation complete. Watching for file changes.": {
|
||||||
"category": "Message",
|
"category": "Message",
|
||||||
"code": 6042
|
"code": 6042
|
||||||
|
@ -2863,7 +2867,7 @@
|
||||||
"Element implicitly has an 'any' type because index expression is not of type 'number'.": {
|
"Element implicitly has an 'any' type because index expression is not of type 'number'.": {
|
||||||
"category": "Error",
|
"category": "Error",
|
||||||
"code": 7015
|
"code": 7015
|
||||||
},
|
},
|
||||||
"Index signature of object type implicitly has an 'any' type.": {
|
"Index signature of object type implicitly has an 'any' type.": {
|
||||||
"category": "Error",
|
"category": "Error",
|
||||||
"code": 7017
|
"code": 7017
|
||||||
|
|
Loading…
Reference in a new issue