MCPcopy Index your code
hub / github.com/nodejs/node / appendTypeParameters

Function appendTypeParameters

test/fixtures/snapshot/typescript.js:56951–56957  ·  view source on GitHub ↗
(typeParameters, declarations)

Source from the content-addressed store, hash-verified

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) {

Calls 2

getSymbolOfNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…