mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
fix linter issues
This commit is contained in:
1 parent
32b1ad36ec
commit
6120f1f3da
1 file changed
+3
-3
@@ -14507,8 +14507,8 @@ namespace ts {
|
||||
if (symbolLinks.exportsSomeValue == undefined) {
|
||||
// for export assignments - check if resolved symbol for RHS is itself a value
|
||||
// otherwise - check if at least one export is value
|
||||
symbolLinks.exportsSomeValue = hasExportAssignment
|
||||
? !!(moduleSymbol.flags & SymbolFlags.Value)
|
||||
symbolLinks.exportsSomeValue = hasExportAssignment
|
||||
? !!(moduleSymbol.flags & SymbolFlags.Value)
|
||||
: forEachValue(getExportsOfModule(moduleSymbol), isValue);
|
||||
}
|
||||
|
||||
@@ -14519,7 +14519,7 @@ namespace ts {
|
||||
return s && !!(s.flags & SymbolFlags.Value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// When resolved as an expression identifier, if the given node references an exported entity, return the declaration
|
||||
// node of the exported entity's container. Otherwise, return undefined.
|
||||
function getReferencedExportContainer(node: Identifier): SourceFile | ModuleDeclaration | EnumDeclaration {
|
||||
|
||||
Reference in new issue
Block a user