Skip to main content

Deprecate

Callable

  • Deprecate(message?: string): (target: Object | Function, property?: string | symbol, descriptor?: unknown) => void

  • A decorator that marks a class declaration, class method, class property, or method parameter as deprecated by logging a deprecation message to the console.