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

Function isJSDocTypeExpressionOrChild

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

Source from the content-addressed store, hash-verified

14760 }
14761 ts.getSourceTextOfNodeFromSourceFile = getSourceTextOfNodeFromSourceFile;
14762 function isJSDocTypeExpressionOrChild(node) {
14763 return !!ts.findAncestor(node, ts.isJSDocTypeExpression);
14764 }
14765 function isExportNamespaceAsDefaultDeclaration(node) {
14766 return !!(ts.isExportDeclaration(node) && node.exportClause && ts.isNamespaceExport(node.exportClause) && node.exportClause.name.escapedText === "default");
14767 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected