mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix(dts): update doc of Deno.formatDiagnostics (#9564)
This commit is contained in:
parent
10fb25db63
commit
18b2dbf0d0
1 changed files with 1 additions and 1 deletions
2
cli/dts/lib.deno.unstable.d.ts
vendored
2
cli/dts/lib.deno.unstable.d.ts
vendored
|
@ -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
|
||||
* ```
|
||||
|
|
Loading…
Add table
Reference in a new issue