API ReferenceFunctions
formatDiagnostics
function formatDiagnostics(diagnostics, sources?): string;Defined in: packages/core/src/diagnostics.ts:56
Render diagnostics as human-readable text, with a code frame when the
originating source is available in sources (keyed by file name).
Parameters
diagnostics
sources?
Record<string, string> = {}
Returns
string