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

Function withJSDoc

test/fixtures/snapshot/typescript.js:31707–31709  ·  view source on GitHub ↗
(node, hasJSDoc)

Source from the content-addressed store, hash-verified

31705 }
31706 }
31707 function withJSDoc(node, hasJSDoc) {
31708 return hasJSDoc ? addJSDocComment(node) : node;
31709 }
31710 var hasDeprecatedTag = false;
31711 function addJSDocComment(node) {
31712 ts.Debug.assert(!node.jsDoc); // Should only be called once per node

Calls 1

addJSDocCommentFunction · 0.85

Tested by

no test coverage detected