method Project.prototype.formatDiagnosticsWithColorAndContextimport { Project } from "https://deno.land/x/fresh@1.7.1/src/dev/deps.ts"; formatDiagnosticsWithColorAndContext(diagnostics: ReadonlyArray<Diagnostic>, opts?: { newLineChar?: "\n" | "\r\n"; }): stringFormats an array of diagnostics with their color and context into a string. Formats an array of diagnostics with their color and context into a string. Parametersdiagnostics: ReadonlyArray<Diagnostic> Diagnostics to get a string of. optionalopts: { newLineChar?: "\n" | "\r\n"; } Collection of options. For example, the new line character to use (defaults to the OS' new line character). Returnsstring