Skip to content

MapErrorsOptions

@tsed/ajv

Usage

typescript
import { MapErrorsOptions } from "@tsed/ajv";

See /packages/specs/ajv/src/utils/mapErrors.ts.

Overview

ts
interface MapErrorsOptions {
    collectionType?: Type<any> | any;
    errorFormatter: ErrorFormatter;
    type?: Type<any> | any;
    value: unknown;
}

collectionType

ts
collectionType?: Type<any> | any;

errorFormatter

ts
errorFormatter: ErrorFormatter;

type

ts
type?: Type<any> | any;

value

ts
value: unknown;

Released under the MIT License.