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

Function getTypeReferenceArity

test/fixtures/snapshot/typescript.js:60259–60261  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

60257 return type.resolvedTypeArguments;
60258 }
60259 function getTypeReferenceArity(type) {
60260 return ts.length(type.target.typeParameters);
60261 }
60262 /**
60263 * Get type from type-reference that reference to class or interface
60264 */

Callers 9

typeReferenceToTypeNodeFunction · 0.85
sliceTupleTypeFunction · 0.85
propertiesRelatedToFunction · 0.85
inferFromObjectTypesFunction · 0.85
padTupleTypeFunction · 0.85

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…