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

Function checkJsxElementDeferred

test/fixtures/snapshot/typescript.js:73739–73750  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

73737 return getJsxElementTypeAt(node) || anyType;
73738 }
73739 function checkJsxElementDeferred(node) {
73740 // Check attributes
73741 checkJsxOpeningLikeElementOrOpeningFragment(node.openingElement);
73742 // Perform resolution on the closing tag so that rename/go to definition/etc work
73743 if (isJsxIntrinsicIdentifier(node.closingElement.tagName)) {
73744 getIntrinsicTagSymbol(node.closingElement);
73745 }
73746 else {
73747 checkExpression(node.closingElement.tagName);
73748 }
73749 checkJsxChildren(node);
73750 }
73751 function checkJsxElement(node, _checkMode) {
73752 checkNodeDeferred(node);
73753 return getJsxElementTypeAt(node) || anyType;

Callers 1

checkDeferredNodeFunction · 0.85

Calls 5

isJsxIntrinsicIdentifierFunction · 0.85
getIntrinsicTagSymbolFunction · 0.85
checkJsxChildrenFunction · 0.85
checkExpressionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…