MCPcopy Create free account
hub / github.com/nodejs/node / checkJsxSelfClosingElement

Function checkJsxSelfClosingElement

test/fixtures/snapshot/typescript.js:73735–73738  ·  view source on GitHub ↗
(node, _checkMode)

Source from the content-addressed store, hash-verified

73733 checkJsxOpeningLikeElementOrOpeningFragment(node);
73734 }
73735 function checkJsxSelfClosingElement(node, _checkMode) {
73736 checkNodeDeferred(node);
73737 return getJsxElementTypeAt(node) || anyType;
73738 }
73739 function checkJsxElementDeferred(node) {
73740 // Check attributes
73741 checkJsxOpeningLikeElementOrOpeningFragment(node.openingElement);

Callers 1

checkExpressionWorkerFunction · 0.85

Calls 2

checkNodeDeferredFunction · 0.85
getJsxElementTypeAtFunction · 0.85

Tested by

no test coverage detected