File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ namespace ts {
258258 "classic" : ModuleResolutionKind . Classic ,
259259 } ,
260260 description : Diagnostics . Specifies_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6 ,
261- error : Diagnostics . Argument_for_moduleResolution_option_must_be_node_classic_or_baseUrl ,
261+ error : Diagnostics . Argument_for_moduleResolution_option_must_be_node_or_classic ,
262262 } ,
263263 {
264264 name : "allowUnusedLabels" ,
Original file line number Diff line number Diff line change 23672367 "category" : " Error" ,
23682368 "code" : 6062
23692369 },
2370- "Argument for '--moduleResolution' option must be 'node', 'classic' or 'baseUrl '." : {
2370+ "Argument for '--moduleResolution' option must be 'node' or 'classic '." : {
23712371 "category" : " Error" ,
23722372 "code" : 6063
23732373 },
25152515 "category" : " Message" ,
25162516 "code" : 6101
25172517 },
2518- "Module name '{0}' contains '!' character." : {
2519- "category" : " Message" ,
2520- "code" : 6102
2521- },
25222518 "Allow javascript files to be compiled." : {
25232519 "category" : " Message" ,
2524- "code" : 6103
2520+ "code" : 6102
25252521 },
25262522 "Option '{0}' should have array of strings as a value." : {
25272523 "category" : " Error" ,
2528- "code" : 6104
2524+ "code" : 6103
25292525 },
25302526 "Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'." : {
25312527 "category" : " Message" ,
2532- "code" : 6105
2528+ "code" : 6104
25332529 },
25342530 "Expected type of 'typings' field in 'package.json' to be 'string', got '{0}'." : {
25352531 "category" : " Message" ,
2536- "code" : 6106
2532+ "code" : 6105
25372533 },
25382534 "'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'" : {
25392535 "category" : " Message" ,
2540- "code" : 6107
2536+ "code" : 6106
25412537 },
25422538 "'rootDirs' option is set, using it to resolve relative module name '{0}'" : {
25432539 "category" : " Message" ,
2544- "code" : 6108
2540+ "code" : 6107
25452541 },
25462542 "Longest matching prefix for '{0}' is '{1}'" : {
25472543 "category" : " Message" ,
2548- "code" : 6109
2544+ "code" : 6108
25492545 },
25502546 "Loading '{0}' from the root dir '{1}', candidate location '{2}'" : {
25512547 "category" : " Message" ,
2552- "code" : 6110
2548+ "code" : 6109
25532549 },
25542550 "Trying other entries in 'rootDirs'" : {
25552551 "category" : " Message" ,
2556- "code" : 6111
2552+ "code" : 6110
25572553 },
25582554 "Module resolution using 'rootDirs' has failed" : {
25592555 "category" : " Message" ,
2560- "code" : 6112
2556+ "code" : 6111
25612557 },
25622558 "Variable '{0}' implicitly has an '{1}' type." : {
25632559 "category" : " Error" ,
Original file line number Diff line number Diff line change @@ -527,14 +527,6 @@ namespace ts {
527527 return createResolvedModule ( resolvedFileName , /*isExternalLibraryImport*/ false , failedLookupLocations ) ;
528528 }
529529
530- // module names that contain '!' are used to reference resources and are not resolved to actual files on disk
531- if ( moduleName . indexOf ( "!" ) != - 1 ) {
532- if ( traceEnabled ) {
533- trace ( host , Diagnostics . Module_name_0_contains_character , moduleName ) ;
534- }
535- return { resolvedModule : undefined , failedLookupLocations : [ ] } ;
536- }
537-
538530 let referencedSourceFile : string ;
539531 while ( true ) {
540532 const searchName = normalizePath ( combinePaths ( containingDirectory , moduleName ) ) ;
You can’t perform that action at this time.
0 commit comments