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

Function addModelDiagnostics

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

Source from the content-addressed store, hash-verified

2711}
2712
2713function addModelDiagnostics(
2714 out: Array<JSDocModelDiagnostic>,
2715 range: [number, number],
2716 diagnostics: ReadonlyArray<JSDocDiagnostic>
2717) {
2718 for (const item of diagnostics) out.push({ ...item, range })
2719}
2720
2721function addJSDocLinkDiagnostics(
2722 sourceFile: ts.SourceFile,

Callers 2

parseDocumentedTsFunction · 0.85
parseModuleJSDocTsFunction · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected