summaryrefslogtreecommitdiff
path: root/cli/js/lib.deno.ns.d.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-02-25 06:48:14 +1100
committerGitHub <noreply@github.com>2020-02-24 14:48:14 -0500
commit2b7e28b591a6947f76ddf9a53f49eec8f1accc0f (patch)
treecfa8f32e1e5171642fc916d77a397937e901fc48 /cli/js/lib.deno.ns.d.ts
parent5da7c7df1d8649ddb5628b4dc830aa8c23ccb488 (diff)
feat: Add Deno.formatDiagnostics (#4032)
Diffstat (limited to 'cli/js/lib.deno.ns.d.ts')
-rw-r--r--cli/js/lib.deno.ns.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts
index 0c9430869..4d7822c90 100644
--- a/cli/js/lib.deno.ns.d.ts
+++ b/cli/js/lib.deno.ns.d.ts
@@ -1903,6 +1903,13 @@ declare namespace Deno {
/** 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
* the Deno TypeScript compiler.
*/