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

Function getJSDocRoot

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

Source from the content-addressed store, hash-verified

17028 }
17029 ts.getJSDocHost = getJSDocHost;
17030 function getJSDocRoot(node) {
17031 return ts.findAncestor(node.parent, ts.isJSDoc);
17032 }
17033 ts.getJSDocRoot = getJSDocRoot;
17034 function getTypeParameterFromJsDoc(node) {
17035 var name = node.name.escapedText;

Callers 1

getJSDocHostFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected