1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-04 23:58:01 +00:00

Fix a typo

This commit is contained in:
jbranchaud
2018-03-08 09:51:57 -06:00
parent 17a3a558e5
commit b78fa50cf8

View File

@@ -10,7 +10,7 @@ const numSchema = yup.number();
```
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'`:
> this must be a `number` type, but the final value was: `NaN` (cast from