MCPcopy Create free account
hub / github.com/effect-app/libs / normalizeSignature

Function normalizeSignature

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:2678–2685  ·  view source on GitHub ↗
(cwd: string, text: string)

Source from the content-addressed store, hash-verified

2676 }
2677 for (const link of collectJSDocLinks(sourceFile, block)) {
2678 const text = link.getText(sourceFile)
2679 const target = extractInlineLinkTarget(text)
2680 if (target === "") continue
2681 if (urlRegex.test(target)) {
2682 diagnostics.push({
2683 ...diagnostic("url-link", `JSDoc inline link must target a TypeScript symbol: ${text}`),
2684 range: [link.pos, link.end]
2685 })
2686 } else if (resolveJSDocLinkSymbol(link, linkContext.checker) === undefined) {
2687 diagnostics.push({
2688 ...diagnostic("unresolved-link", `Unresolved JSDoc inline link: ${text}`),

Callers 2

parseableSignatureFunction · 0.85
functionSignatureFunction · 0.85

Calls 2

normalizePathNameFunction · 0.70
replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…