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

Function collectTsConfigFiles

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:1511–1522  ·  view source on GitHub ↗
(tsconfigPath: string, seen: Set<string>, fileNames: Set<string>)

Source from the content-addressed store, hash-verified

1509 diagnostics.push(diagnostic("empty-tag", "@see must include a value"))
1510 }
1511 }
1512 const deprecated = values.get("deprecated")?.[0] ?? null
1513 if (deprecated === "") diagnostics.push(diagnostic("empty-tag", "@deprecated must include a message"))
1514 const since = values.get("since")?.[0] ?? null
1515 if ((scope === "declaration" || scope === "namespace" || scope === "namespace-declaration") && since === null) {
1516 diagnostics.push(
1517 diagnostic(
1518 "missing-tag",
1519 scope === "declaration" ? "Public JSDoc must include @since" : "Namespace JSDoc must include @since"
1520 )
1521 )
1522 }
1523 if (scope === "module" && since === null) {
1524 diagnostics.push(diagnostic("missing-tag", "Module JSDoc must include @since"))
1525 }

Callers 1

getProgramFunction · 0.85

Calls 3

parseTsConfigFunction · 0.70
addMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…