(cwd: string, text: string)
| 2689 | range: [link.pos, link.end] |
| 2690 | }) |
| 2691 | } |
| 2692 | } |
| 2693 | for (const link of collectJSDocSeeLinks(sourceFile, block)) { |
| 2694 | const text = link.getText(sourceFile) |
| 2695 | const target = extractInlineLinkTarget(text) |
| 2696 | if (target === "" || urlRegex.test(target)) continue |
| 2697 | const symbol = resolveJSDocLinkSymbol(link, linkContext.checker) |
| 2698 | if (symbol === undefined) continue |
| 2699 | if (undocumentedSeeLinkTarget(symbol, linkContext.checker, linkContext.cwd) !== undefined) { |
| 2700 | diagnostics.push({ |
| 2701 | ...diagnostic("undocumented-see-target", `@see link target must have public JSDoc: ${text}`), |
| 2702 | range: [link.pos, link.end] |
| 2703 | }) |
| 2704 | } |
| 2705 | } |
no test coverage detected
searching dependent graphs…