MCPcopy Create free account
hub / github.com/Effect-TS/effect / checkNamespaces

Function checkNamespaces

packages/tools/jsdocs/src/Jsdocs.ts:2602–2610  ·  view source on GitHub ↗
(namespaces: ReadonlyArray<ParsedNamespace>)

Source from the content-addressed store, hash-verified

2600 ...checkMembers(member.members)
2601 ])
2602 const checkNamespaces = (namespaces: ReadonlyArray<ParsedNamespace>): ReadonlyArray<JSDocModelDiagnostic> =>
2603 namespaces.flatMap((namespace) => [
2604 ...checkExamples(namespace.examples),
2605 ...namespace.declarations.flatMap((declaration) => [
2606 ...checkExamples(declaration.examples),
2607 ...checkMembers(declaration.members)
2608 ]),
2609 ...checkNamespaces(namespace.namespaces)
2610 ])
2611 return files.map((file) => {
2612 const diagnostics = [
2613 ...file.diagnostics,

Callers 1

Calls 2

checkExamplesFunction · 0.85
checkMembersFunction · 0.85

Tested by

no test coverage detected