From 08bd23970dbce4ccf8103abf27e4cfa1b747705b Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 5 Jun 2023 12:25:47 +0200 Subject: feat: add more options to Deno.inspect (#19337) For https://github.com/denoland/deno_std/issues/3404 --------- Co-authored-by: Yoshiya Hinosawa --- cli/tsc/dts/lib.deno.ns.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cli/tsc/dts/lib.deno.ns.d.ts') diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index a7d6adab8..0247eda9c 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -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} */ -- cgit v1.2.3