mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Merge branch 'change_unexposed_error_message' of https://github.com/YuichiNukiyama/TypeScript into YuichiNukiyama-change_unexposed_error_message
This commit is contained in:
@@ -1317,7 +1317,7 @@ namespace ts {
|
||||
symbol = getSymbol(getExportsOfSymbol(namespace), right.text, meaning);
|
||||
if (!symbol) {
|
||||
if (!ignoreErrors) {
|
||||
error(right, Diagnostics.Module_0_has_no_exported_member_1, getFullyQualifiedName(namespace), declarationNameToString(right));
|
||||
error(right, Diagnostics.Module_or_namespace_0_has_no_exported_member_1, getFullyQualifiedName(namespace), declarationNameToString(right));
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
@@ -1951,6 +1951,11 @@
|
||||
"category": "Error",
|
||||
"code": 2693
|
||||
},
|
||||
"Module or namespace '{0}' has no exported member '{1}'.": {
|
||||
"category": "Error",
|
||||
"code": 2694
|
||||
},
|
||||
|
||||
"Import declaration '{0}' is using private name '{1}'.": {
|
||||
"category": "Error",
|
||||
"code": 4000
|
||||
|
||||
Reference in New Issue
Block a user