Reference
formatDiagnostic
Formats a compiler diagnostic with filename, location, code, message, and suggestion details.
Signature
function formatDiagnostic(filename: string, diagnostic: Diagnostic): stringReference
Formats a compiler diagnostic with filename, location, code, message, and suggestion details.
function formatDiagnostic(filename: string, diagnostic: Diagnostic): string