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

Function formatDiagnostic

packages/tools/jsdocs/src/Jsdocs.ts:1558–1560  ·  view source on GitHub ↗
(diagnostic: ts.Diagnostic)

Source from the content-addressed store, hash-verified

1556}
1557
1558function formatDiagnostic(diagnostic: ts.Diagnostic): string {
1559 return ts.flattenDiagnosticMessageText(diagnostic.messageText, "\n")
1560}
1561
1562function parseTsConfig(tsconfigPath: string): ParsedConfigResult {
1563 const config = ts.readConfigFile(tsconfigPath, ts.sys.readFile)

Callers 1

parseTsConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected