mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 17:27:54 -05:00
change error message
This commit is contained in:
@@ -668,7 +668,7 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
if (hasProperty(json, "excludes") && !hasProperty(json, "exclude")) {
|
||||
errors.push(createCompilerDiagnostic(Diagnostics.Option_excludes_is_invalid_You_should_use_exclude));
|
||||
errors.push(createCompilerDiagnostic(Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));
|
||||
}
|
||||
return fileNames;
|
||||
}
|
||||
|
||||
@@ -2243,10 +2243,6 @@
|
||||
"category": "Error",
|
||||
"code": 5062
|
||||
},
|
||||
"Option 'excludes' is invalid. You should use 'exclude'": {
|
||||
"category": "Error",
|
||||
"code": 5063
|
||||
},
|
||||
|
||||
"Concatenate and emit output to single file.": {
|
||||
"category": "Message",
|
||||
@@ -2624,6 +2620,10 @@
|
||||
"category": "Message",
|
||||
"code": 6113
|
||||
},
|
||||
"Unknown option 'excludes'. Did you mean 'exclude'?": {
|
||||
"category": "Error",
|
||||
"code": 6114
|
||||
},
|
||||
|
||||
"Variable '{0}' implicitly has an '{1}' type.": {
|
||||
"category": "Error",
|
||||
|
||||
Reference in New Issue
Block a user