You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like the following to mark empty strings as undefined instead of having to add ".min(1)"
/**
* Makes it so that empty strings are treated as undefined. `SOME_VAR: z.string()` and
* `SOME_VAR=''` will throw an error.
*/
emptyStringAsUndefined: true
The text was updated successfully, but these errors were encountered:
Like the following to mark empty strings as undefined instead of having to add ".min(1)"
The text was updated successfully, but these errors were encountered: