(declaration)
| 59511 | // Return list of type parameters with duplicates removed (duplicate identifier errors are generated in the actual |
| 59512 | // type checking functions). |
| 59513 | function getTypeParametersFromDeclaration(declaration) { |
| 59514 | var result; |
| 59515 | for (var _i = 0, _a = ts.getEffectiveTypeParameterDeclarations(declaration); _i < _a.length; _i++) { |
| 59516 | var node = _a[_i]; |
| 59517 | result = ts.appendIfUnique(result, getDeclaredTypeOfTypeParameter(node.symbol)); |
| 59518 | } |
| 59519 | return result; |
| 59520 | } |
| 59521 | function symbolsToArray(symbols) { |
| 59522 | var result = []; |
| 59523 | symbols.forEach(function (symbol, id) { |
no test coverage detected