mirror of
https://github.com/denoland/deno.git
synced 2025-07-24 05:35:33 +00:00
feat: Add Deno.formatDiagnostics (#4032)
This commit is contained in:
parent
5da7c7df1d
commit
2b7e28b591
8 changed files with 83 additions and 7 deletions
7
cli/js/lib.deno.ns.d.ts
vendored
7
cli/js/lib.deno.ns.d.ts
vendored
|
@ -1901,6 +1901,13 @@ declare namespace Deno {
|
|||
items: DiagnosticItem[];
|
||||
}
|
||||
|
||||
/** UNSTABLE: new API, yet to be vetted.
|
||||
*
|
||||
* Format an array of diagnostic items and return them as a single string.
|
||||
* @param items An array of diagnostic items to format
|
||||
*/
|
||||
export function formatDiagnostics(items: DiagnosticItem[]): string;
|
||||
|
||||
/** UNSTABLE: new API, yet to be vetted.
|
||||
*
|
||||
* A specific subset TypeScript compiler options that can be supported by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue