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

Function emitTypeParameters

test/fixtures/snapshot/typescript.js:113767–113772  ·  view source on GitHub ↗
(parentNode, typeParameters)

Source from the content-addressed store, hash-verified

113765 emitList(parentNode, typeArguments, 53776 /* ListFormat.TypeArguments */, typeArgumentParenthesizerRuleSelector);
113766 }
113767 function emitTypeParameters(parentNode, typeParameters) {
113768 if (ts.isFunctionLike(parentNode) && parentNode.typeArguments) { // Quick info uses type arguments in place of type parameters on instantiated signatures
113769 return emitTypeArguments(parentNode, parentNode.typeArguments);
113770 }
113771 emitList(parentNode, typeParameters, 53776 /* ListFormat.TypeParameters */);
113772 }
113773 function emitParameters(parentNode, parameters) {
113774 emitList(parentNode, parameters, 2576 /* ListFormat.Parameters */);
113775 }

Callers 10

emitMethodSignatureFunction · 0.85
emitCallSignatureFunction · 0.85
emitConstructSignatureFunction · 0.85
emitFunctionTypeFunction · 0.85
emitConstructorTypeFunction · 0.85
emitArrowFunctionHeadFunction · 0.85
emitSignatureHeadFunction · 0.85
emitInterfaceDeclarationFunction · 0.85
emitTypeAliasDeclarationFunction · 0.85

Calls 2

emitTypeArgumentsFunction · 0.85
emitListFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…