UNPKG

decorated-ajv

Version:

AJV decorated with error handling and formats

19 lines (18 loc) 445 B
export { JSONSchema7 } from "json-schema"; declare type StringMap = { [P in string]?: string; }; declare type ErrorMessageSchema = { properties?: StringMap; items?: string[]; required?: string | StringMap; dependencies?: string | StringMap; _?: string; } & { [K in string]?: string | StringMap; }; declare module "json-schema" { interface JSONSchema7 { errorMessage?: string | ErrorMessageSchema; } }