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

Function inferJsxTypeArguments

test/fixtures/snapshot/typescript.js:75455–75460  ·  view source on GitHub ↗
(node, signature, checkMode, context)

Source from the content-addressed store, hash-verified

75453 return getSignatureInstantiation(signature, getInferredTypes(context), ts.isInJSFile(contextualSignature.declaration));
75454 }
75455 function inferJsxTypeArguments(node, signature, checkMode, context) {
75456 var paramType = getEffectiveFirstArgumentForJsxSignature(signature, node);
75457 var checkAttrType = checkExpressionWithContextualType(node.attributes, paramType, context, checkMode);
75458 inferTypes(context.inferences, checkAttrType, paramType);
75459 return getInferredTypes(context);
75460 }
75461 function getThisArgumentType(thisArgumentNode) {
75462 if (!thisArgumentNode) {
75463 return voidType;

Callers 1

inferTypeArgumentsFunction · 0.85

Calls 4

inferTypesFunction · 0.85
getInferredTypesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…