dannyeloD
Convex Community2y ago
4 replies
dannyelo

v.string().isOptional property not working

Hello,
I saw available the isOptional property in the v.string()
But I have an error after I use it in the property name.

Type 'string' is not assignable to type 'Validator<any, OptionalProperty, any>'.ts(2322)
(property) color: "required"


Any suggestion?
Was this page helpful?