Type alias ValidatorConfig

ValidatorConfig: {
    connectives?: Readonly<Partial<Record<ConnectiveWord, string>>>;
    phrases?: Readonly<Partial<Record<ErrorItem, string>>>;
    styles?: MessageStyles;
}

The validator configuration.

Type declaration

  • Optional Readonly connectives?: Readonly<Partial<Record<ConnectiveWord, string>>>

    The connective words.

  • Optional Readonly phrases?: Readonly<Partial<Record<ErrorItem, string>>>

    The message phrases.

  • Optional Readonly styles?: MessageStyles

    The message styles.