(name)
| 15210 | // Computed property names will just be emitted as "[<expr>]", where <expr> is the source |
| 15211 | // text of the expression in the computed property. |
| 15212 | function declarationNameToString(name) { |
| 15213 | return !name || getFullWidth(name) === 0 ? "(Missing)" : getTextOfNode(name); |
| 15214 | } |
| 15215 | ts.declarationNameToString = declarationNameToString; |
| 15216 | function getNameFromIndexInfo(info) { |
| 15217 | return info.declaration ? declarationNameToString(info.declaration.parameters[0].name) : undefined; |
no test coverage detected