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

Function addModelDiagnostics

packages/tools/jsdocs/src/Jsdocs.ts:2659–2665  ·  view source on GitHub ↗
(
  out: Array<JSDocModelDiagnostic>,
  range: [number, number],
  diagnostics: ReadonlyArray<JSDocDiagnostic>
)

Source from the content-addressed store, hash-verified

2657}
2658
2659function addModelDiagnostics(
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
2667function addJSDocLinkDiagnostics(
2668 sourceFile: ts.SourceFile,

Callers 2

parseDocumentedTsFunction · 0.85
parseModuleJSDocTsFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected