Config interface.

interface Config<TIssue extends BaseIssue<unknown>> {
    abortEarly?: boolean;
    abortPipeEarly?: boolean;
    lang?: string;
    message?: ErrorMessage<TIssue>;
}

Type Parameters

Hierarchy (View Summary)

Properties

abortEarly?: boolean

Whether it should be aborted early.

abortPipeEarly?: boolean

Whether a pipe should be aborted early.

lang?: string

The selected language.

message?: ErrorMessage<TIssue>

The error message.