stack

Home > @infiniteobjects/data-types > ValidationArguments

ValidationArguments type

Arguments being sent to message builders - user can create message either by simply returning a string, either by returning a function that accepts MessageArguments and returns a message string built based on these arguments.

Signature:

export type ValidationArguments<Target = ObjectLike> = Merge<ValidationArgs, {
    object: Target;
}>;

References: ObjectLike, Merge