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

Function getTypeParametersOfClassOrInterface

test/fixtures/snapshot/typescript.js:57052–57054  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

57050 // The full set of type parameters for a generic class or interface type consists of its outer type parameters plus
57051 // its locally declared type parameters.
57052 function getTypeParametersOfClassOrInterface(symbol) {
57053 return ts.concatenate(getOuterTypeParametersOfClassOrInterface(symbol), getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol));
57054 }
57055 // A type is a mixin constructor if it has a single construct signature taking no type parameters and a single
57056 // rest parameter of type any[].
57057 function isMixinConstructorType(type) {

Callers 1

lookupTypeParameterNodesFunction · 0.85

Tested by

no test coverage detected