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

Function bucketOfTs

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

Source from the content-addressed store, hash-verified

2848}
2849
2850function bucketOfTs(node: ts.Node): ExportBucket | undefined {
2851 if (ts.isVariableStatement(node) || ts.isFunctionDeclaration(node) || ts.isClassDeclaration(node)) return "value"
2852 if (ts.isTypeAliasDeclaration(node) || ts.isInterfaceDeclaration(node)) return "type"
2853 return undefined
2854}
2855
2856function normalizeSignature(cwd: string, text: string): string | null {
2857 const normalizedCwd = normalizePathName(cwd)

Callers 2

parseNamespaceTsFunction · 0.85
parseSourceFileDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected