mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
feat: add more options to Deno.inspect (#19337)
For https://github.com/denoland/deno_std/issues/3404 --------- Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
This commit is contained in:
parent
77a950aac4
commit
08bd23970d
5 changed files with 38 additions and 2 deletions
8
cli/tsc/dts/lib.deno.ns.d.ts
vendored
8
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -4240,6 +4240,14 @@ declare namespace Deno {
|
|||
*
|
||||
* @default {4} */
|
||||
depth?: number;
|
||||
/** The maximum length for an inspection to take up a single line.
|
||||
*
|
||||
* @default {80} */
|
||||
breakLength?: number;
|
||||
/** Whether or not to escape sequences.
|
||||
*
|
||||
* @default {true} */
|
||||
escapeSequences?: boolean;
|
||||
/** The maximum number of iterable entries to print.
|
||||
*
|
||||
* @default {100} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue