Union type representing all possible schema types in Vine. Used as a constraint for generic functions that accept any schema type.
function validateSchema<T extends SchemaTypes>(schema: T, data: any) { // validation logic} Copy
function validateSchema<T extends SchemaTypes>(schema: T, data: any) { // validation logic}
Union type representing all possible schema types in Vine. Used as a constraint for generic functions that accept any schema type.