Function Setup

  • Hook a function to initialization phase.

    Type Parameters

    • This

    Parameters

    • method: (() => any)
        • (): any
        • Returns any

    • context: ClassMethodDecoratorContext<This, (() => any)>

    Returns (() => any)

      • (): any
      • Returns any

    Decorator