(typeParameters, declarations)
| 56949 | // The function allocates a new array if the input type parameter set is undefined, but otherwise it modifies the set |
| 56950 | // in-place and returns the same array. |
| 56951 | function appendTypeParameters(typeParameters, declarations) { |
| 56952 | for (var _i = 0, declarations_2 = declarations; _i < declarations_2.length; _i++) { |
| 56953 | var declaration = declarations_2[_i]; |
| 56954 | typeParameters = ts.appendIfUnique(typeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfNode(declaration))); |
| 56955 | } |
| 56956 | return typeParameters; |
| 56957 | } |
| 56958 | // Return the outer type parameters of a node or undefined if the node has no outer type parameters. |
| 56959 | function getOuterTypeParameters(node, includeThisTypes) { |
| 56960 | while (true) { |
no test coverage detected
searching dependent graphs…