(declaration, aliasingStatement)
| 52170 | return true; |
| 52171 | } |
| 52172 | function addVisibleAlias(declaration, aliasingStatement) { |
| 52173 | // In function "buildTypeDisplay" where we decide whether to write type-alias or serialize types, |
| 52174 | // we want to just check if type- alias is accessible or not but we don't care about emitting those alias at that time |
| 52175 | // since we will do the emitting later in trackSymbol. |
| 52176 | if (shouldComputeAliasToMakeVisible) { |
| 52177 | getNodeLinks(declaration).isVisible = true; |
| 52178 | aliasesToMakeVisible = ts.appendIfUnique(aliasesToMakeVisible, aliasingStatement); |
| 52179 | } |
| 52180 | return true; |
| 52181 | } |
| 52182 | } |
| 52183 | function isEntityNameVisible(entityName, enclosingDeclaration) { |
| 52184 | // get symbol of the first identifier of the entityName |
no test coverage detected