• Executes a lifecycle hook if is implemented.

    Returns

    The resulf of the lifecycle hook execution.

    Type Parameters

    • T

      The expected return type.

    Parameters

    • obj: any

      The source object.

    • method: string

      The lifecycle hook method name.

    • Rest ...args: unknown[]

      The args required by the lifecycle hook.

    Returns T | undefined

Generated using TypeDoc