Function deprecatedPrivate

  • Private

    Notify that function is deprecated and should no longer be used.

    Parameters

    • thing: string

      Name of deprecated item. Example: "[ParentContext] functionName()".

    • version: string

      First version with deprecated item. Example: "v1.1.1".

    • Optional opts: {
          aggressive?: boolean;
          replacement?: string;
      }

      Aggressive: TRUE to trigger alert.

      • Replacement: the function name that should be used instead. Example: "replacementFunction()".
      • Optional aggressive?: boolean
      • Optional replacement?: string

    Returns void