Skip to content

Commit

Permalink
fix(dts): update doc of Deno.formatDiagnostics (denoland#9564)
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed Feb 21, 2021
1 parent 10fb25d commit 18b2dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/dts/lib.deno.unstable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ declare namespace Deno {
* user friendly format.
*
* ```ts
* const [diagnostics, result] = Deno.compile("file_with_compile_issues.ts");
* const { diagnostics } = await Deno.emit("file_with_compile_issues.ts");
* console.table(diagnostics); // Prints raw diagnostic data
* console.log(Deno.formatDiagnostics(diagnostics)); // User friendly output of diagnostics
* ```
Expand Down

0 comments on commit 18b2dbf

Please sign in to comment.