(symbol, node)
| 16721 | } |
| 16722 | ts.isSpecialPropertyDeclaration = isSpecialPropertyDeclaration; |
| 16723 | function setValueDeclaration(symbol, node) { |
| 16724 | var valueDeclaration = symbol.valueDeclaration; |
| 16725 | if (!valueDeclaration || |
| 16726 | !(node.flags & 16777216 /* NodeFlags.Ambient */ && !(valueDeclaration.flags & 16777216 /* NodeFlags.Ambient */)) && |
| 16727 | (isAssignmentDeclaration(valueDeclaration) && !isAssignmentDeclaration(node)) || |
| 16728 | (valueDeclaration.kind !== node.kind && isEffectiveModuleDeclaration(valueDeclaration))) { |
| 16729 | // other kinds of value declarations take precedence over modules and assignment declarations |
| 16730 | symbol.valueDeclaration = node; |
| 16731 | } |
| 16732 | } |
| 16733 | ts.setValueDeclaration = setValueDeclaration; |
| 16734 | function isFunctionSymbol(symbol) { |
| 16735 | if (!symbol || !symbol.valueDeclaration) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…