Class TypedConfigModule

Hierarchy

  • TypedConfigModule

Constructors

Methods

  • Transforms validation error object returned by class-validator to more readable error messages.

    Parameters

    • errors: ValidationError[]

    Returns {
        constraints: undefined | {
            [type: string]: string;
        };
        property: string;
        value: any;
    }[]

  • Parameters

    • config: any
    • Config: ClassConstructor<any>

    Returns Provider[]

  • Parameters

    • rawConfig: any
    • Config: ClassConstructor<any>
    • Optional options: Partial<ValidatorOptions>

    Returns any

Generated using TypeDoc