MCPcopy Create free account
hub / github.com/effect-app/libs / getNodeJSDoc

Function getNodeJSDoc

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:2543–2549  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

2541 if (namespaceModule !== undefined) {
2542 diagnostics.push(diagnostic(
2543 "example-import-style",
2544 `JSDoc examples should use \`import { ${namespaceModule.name} } from "${namespaceModule.barrelModule}"\` instead of importing from "${source}"`
2545 ))
2546 continue
2547 }
2548 if (flatModule !== undefined) {
2549 diagnostics.push(diagnostic(
2550 "example-import-style",
2551 `JSDoc examples should import ${
2552 Array.from(flatModule.names).map((name) => `\`${name}\``).join(", ")

Callers 2

symbolHasPublicJSDocFunction · 0.85
parseDocumentedTsFunction · 0.85

Calls 1

parseJSDocBlockFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…