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

Function bucketOfTs

packages/tools/jsdocs/src/Jsdocs.ts:2780–2784  ·  view source on GitHub ↗
(node: ts.Node)

Source from the content-addressed store, hash-verified

2778}
2779
2780function bucketOfTs(node: ts.Node): ExportBucket | undefined {
2781 if (ts.isVariableStatement(node) || ts.isFunctionDeclaration(node) || ts.isClassDeclaration(node)) return "value"
2782 if (ts.isTypeAliasDeclaration(node) || ts.isInterfaceDeclaration(node)) return "type"
2783 return undefined
2784}
2785
2786function normalizeSignature(cwd: string, text: string): string | null {
2787 const normalizedCwd = normalizePathName(cwd)

Callers 2

parseNamespaceTsFunction · 0.85
parseSourceFileDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected