Function postFunctionDecoratorFactory

  • postFunctionDecoratorFactory function helps creates a decorator that saves the metadata of the Post type decorator.

    Type Parameters

    • This

      The type of the class the decorator is applied to.

    Parameters

    • name: string

      Name of the 'Post' type decorator.

    • func: PrePostFunction<This>

      Function that will be executed after the property or class has been fully processed.

    • opt: Partial<PrePostOptions> = PrePostOptionsDefault

      PrePost options.

    Returns ClassAndPropertyDecoratorType<This>

    The class or property decorator function.