.
This commit is contained in:
parent
230f2f62db
commit
a4528d6bba
5 changed files with 8 additions and 4 deletions
|
|
@ -37,3 +37,5 @@ export const zNumero = z.preprocess(zPreprocessarNumero, z.number())
|
|||
export const zNumeroPositivo = z.preprocess(zPreprocessarNumero, z.number().positive())
|
||||
|
||||
export const zNumeroInteiro = z.preprocess(zPreprocessarNumero, z.number().int())
|
||||
|
||||
export const zNumeroInteiroPositivo = z.preprocess(zPreprocessarNumero, z.number().int().positive())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue