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

Function checkNamespaces

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

Source from the content-addressed store, hash-verified

2654 ...checkMembers(member.members)
2655 ])
2656 const checkNamespaces = (namespaces: ReadonlyArray<ParsedNamespace>): ReadonlyArray<JSDocModelDiagnostic> =>
2657 namespaces.flatMap((namespace) => [
2658 ...checkExamples(namespace.examples),
2659 ...namespace.declarations.flatMap((declaration) => [
2660 ...checkExamples(declaration.examples),
2661 ...checkMembers(declaration.members)
2662 ]),
2663 ...checkNamespaces(namespace.namespaces)
2664 ])
2665 return files.map((file) => {
2666 const diagnostics = [
2667 ...file.diagnostics,

Callers 1

Calls 2

checkExamplesFunction · 0.85
checkMembersFunction · 0.85

Tested by

no test coverage detected