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

Function displaySignature

packages/tools/jsdocs/src/Jsdocs.ts:2865–2867  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

2863}
2864
2865function displaySignature(text: string): string {
2866 return text.replace(/import\((?:"[^"]+"|'[^']+')\)\.([A-Za-z_$][A-Za-z0-9_$]*(?:\.[A-Za-z_$][A-Za-z0-9_$]*)*)/g, "$1")
2867}
2868
2869function parseableSignature(cwd: string, text: string): string | null {
2870 const signature = normalizeSignature(cwd, displaySignature(text))

Callers 1

parseableSignatureFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected