mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
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>
This commit is contained in:
parent
ee0cfd3fd5
commit
5aa25f08be
3 changed files with 42 additions and 17 deletions
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue