Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/util.ts>deprecate

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function deprecate
import { deprecate } from "https://deno.land/std@0.88.0/node/util.ts";

Type Parameters

A extends Array<unknown>
B

Parameters

this: unknown

This implementation of deprecate won't apply the deprecation code

callback: (...args: A) => B
msg: string
optional
_code: string