Go back

How to mark function as deprecated in IDE?

  /**
   *
   * @deprecated The method should not be used. Use `CasingService` instead.
   *
   */
  public methodToDeprecate<T = unknown>(data: T): T {
    // ...
  }