diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-01-24 08:46:59 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 21:46:59 +0000 |
commit | 5aa25f08be0be6c097dd35cd5ea2c8c154b06929 (patch) | |
tree | b39e1b98edef432753f93b8c83b244f94685adaf /cli/tsc | |
parent | ee0cfd3fd55910d3d8e8f802ec6401942dc71d5f (diff) |
feat: Add deprecation warning for `Deno.customInspect` (#22027)
This change sets the removal version of `Deno.customInspect` for Deno
v2.
Towards #22021
---------
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |