fix linter issues

This commit is contained in:
Vladimir Matveev committed 2015-10-04 22:45:08 -07:00
1 parent 32b1ad36ec
commit 6120f1f3da
1 file changed
+3 -3
+3 -3
View File
@@ -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 {