mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat(ext/console): Add string abbreviation size option for "Deno.inspect" (#14384)
This commit is contained in:
parent
6dcf3a447c
commit
ddbfa1418c
3 changed files with 28 additions and 2 deletions
2
cli/dts/lib.deno.ns.d.ts
vendored
2
cli/dts/lib.deno.ns.d.ts
vendored
|
@ -2491,6 +2491,8 @@ declare namespace Deno {
|
|||
getters?: boolean;
|
||||
/** Show an object's non-enumerable properties. Defaults to false. */
|
||||
showHidden?: boolean;
|
||||
/** The maximum length of a string before it is truncated with an ellipsis */
|
||||
strAbbreviateSize?: number;
|
||||
}
|
||||
|
||||
/** Converts the input into a string that has the same format as printed by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue