From 5aa25f08be0be6c097dd35cd5ea2c8c154b06929 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 24 Jan 2024 08:46:59 +1100 Subject: feat: Add deprecation warning for `Deno.customInspect` (#22027) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change sets the removal version of `Deno.customInspect` for Deno v2. Towards #22021 --------- Co-authored-by: Bartek IwaƄczuk --- cli/tsc/dts/lib.deno.ns.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 f695a68c2..8d1e28d4b 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -5034,8 +5034,8 @@ declare namespace Deno { * called when `Deno.inspect()` is called, or when the object is logged to * the console. * - * @deprecated This symbol is deprecated since 1.9. Use - * `Symbol.for("Deno.customInspect")` instead. + * @deprecated Use `Symbol.for("Deno.customInspect")` instead. This symbol + * will be removed in Deno 2.0. * * @category Console and Debugging */ -- cgit v1.2.3