(node)
| 161432 | } |
| 161433 | return { target: target, usagesPerScope: usagesPerScope, functionErrorsPerScope: functionErrorsPerScope, constantErrorsPerScope: constantErrorsPerScope, exposedVariableDeclarations: exposedVariableDeclarations }; |
| 161434 | function isInGenericContext(node) { |
| 161435 | return !!ts.findAncestor(node, function (n) { return ts.isDeclarationWithTypeParameters(n) && ts.getEffectiveTypeParameterDeclarations(n).length !== 0; }); |
| 161436 | } |
| 161437 | function recordTypeParameterUsages(type) { |
| 161438 | // PERF: This is potentially very expensive. `type` could be a library type with |
| 161439 | // a lot of properties, each of which the walker will visit. Unfortunately, the |
no outgoing calls
no test coverage detected