(node: ts.Node, name: string)
| 2660 | out: Array<JSDocModelDiagnostic>, |
| 2661 | range: [number, number], |
| 2662 | diagnostics: ReadonlyArray<JSDocDiagnostic> |
| 2663 | ) { |
| 2664 | for (const item of diagnostics) out.push({ ...item, range }) |
| 2665 | } |
| 2666 | |
| 2667 | function addJSDocLinkDiagnostics( |
| 2668 | sourceFile: ts.SourceFile, |
| 2669 | block: JSDocBlock, |
| 2670 | diagnostics: Array<JSDocModelDiagnostic>, |
| 2671 | linkContext: { readonly checker: ts.TypeChecker; readonly entry: ProgramCacheEntry; readonly cwd: string } |
| 2672 | ) { |
| 2673 | if (!hasInlineLink(block)) return |
no test coverage detected
searching dependent graphs…