mirror of
https://github.com/jbranchaud/til
synced 2026-01-08 01:28:02 +00:00
Fix a typo
This commit is contained in:
@@ -10,7 +10,7 @@ const numSchema = yup.number();
|
|||||||
```
|
```
|
||||||
|
|
||||||
If we use this schema to validate something that isn't a number, Yup will
|
If we use this schema to validate something that isn't a number, Yup will
|
||||||
provide a lengthy default message. Here is what we get if I validate against
|
provide a lengthy default message. Here is what we get if we validate against
|
||||||
`'hey'`:
|
`'hey'`:
|
||||||
|
|
||||||
> this must be a `number` type, but the final value was: `NaN` (cast from
|
> this must be a `number` type, but the final value was: `NaN` (cast from
|
||||||
|
|||||||
Reference in New Issue
Block a user