mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Update LKG
This commit is contained in:
@@ -13848,7 +13848,7 @@ var ts;
|
||||
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
|
||||
}
|
||||
}
|
||||
if (result && isInExternalModule) {
|
||||
if (result && isInExternalModule && (meaning & 107455) === 107455) {
|
||||
var decls = result.declarations;
|
||||
if (decls && decls.length === 1 && decls[0].kind === 228) {
|
||||
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);
|
||||
|
||||
@@ -14844,7 +14844,7 @@ var ts;
|
||||
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
|
||||
}
|
||||
}
|
||||
if (result && isInExternalModule) {
|
||||
if (result && isInExternalModule && (meaning & 107455) === 107455) {
|
||||
var decls = result.declarations;
|
||||
if (decls && decls.length === 1 && decls[0].kind === 228) {
|
||||
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);
|
||||
|
||||
@@ -14844,7 +14844,7 @@ var ts;
|
||||
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
|
||||
}
|
||||
}
|
||||
if (result && isInExternalModule) {
|
||||
if (result && isInExternalModule && (meaning & 107455) === 107455) {
|
||||
var decls = result.declarations;
|
||||
if (decls && decls.length === 1 && decls[0].kind === 228) {
|
||||
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);
|
||||
|
||||
@@ -17337,8 +17337,8 @@ var ts;
|
||||
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
|
||||
}
|
||||
}
|
||||
// If we're in an external module, we can't reference symbols created from UMD export declarations
|
||||
if (result && isInExternalModule) {
|
||||
// If we're in an external module, we can't reference value symbols created from UMD export declarations
|
||||
if (result && isInExternalModule && (meaning & 107455 /* Value */) === 107455 /* Value */) {
|
||||
var decls = result.declarations;
|
||||
if (decls && decls.length === 1 && decls[0].kind === 228 /* NamespaceExportDeclaration */) {
|
||||
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);
|
||||
|
||||
@@ -17337,8 +17337,8 @@ var ts;
|
||||
checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);
|
||||
}
|
||||
}
|
||||
// If we're in an external module, we can't reference symbols created from UMD export declarations
|
||||
if (result && isInExternalModule) {
|
||||
// If we're in an external module, we can't reference value symbols created from UMD export declarations
|
||||
if (result && isInExternalModule && (meaning & 107455 /* Value */) === 107455 /* Value */) {
|
||||
var decls = result.declarations;
|
||||
if (decls && decls.length === 1 && decls[0].kind === 228 /* NamespaceExportDeclaration */) {
|
||||
error(errorLocation, ts.Diagnostics.Identifier_0_must_be_imported_from_a_module, name);
|
||||
|
||||
Reference in New Issue
Block a user