• @Post decorator defines a function computed after fully reading and transforming the property value.

    Type Parameters

    • This

    Parameters

    • func: PrePostFunction<This>

      Function that will be executed after the Controller/Validator/Transfromer validators.

    • Optionalopt: Partial<PrePostOptions>

      PrePost options.

    Returns ClassAndPropertyDecoratorType<This>

    The property decorator function ran at runtime