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

Function resolveJSDocLinkSymbol

packages/tools/jsdocs/src/Jsdocs.ts:1612–1617  ·  view source on GitHub ↗
(
  link: ts.JSDocLink,
  checker: ts.TypeChecker
)

Source from the content-addressed store, hash-verified

1610}
1611
1612function resolveJSDocLinkSymbol(
1613 link: ts.JSDocLink,
1614 checker: ts.TypeChecker
1615): ts.Symbol | undefined {
1616 return link.name === undefined ? undefined : checker.getSymbolAtLocation(link.name)
1617}
1618
1619function isInlineLinkStart(source: string, index: number): boolean {
1620 if (!source.startsWith("{@link", index)) return false

Callers 2

addJSDocLinkDiagnosticsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected