Skip to content

Commit 4bea2f1

Browse files
mauricedbjquense
authored andcommittedOct 28, 2019
docs: fix typo (#643)
1 parent d31e34d commit 4bea2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ schema.cast({ foo: { bar: 'boom' } }, { context: { x: 5 } });
313313
#### `yup.lazy((value: any) => Schema): Lazy`
314314

315315
Creates a schema that is evaluated at validation/cast time. Useful for creating
316-
recursive schema like Trees, for polymophic fields and arrays.
316+
recursive schema like Trees, for polymorphic fields and arrays.
317317

318318
**CAUTION!** When defining parent-child recursive object schema, you want to reset the `default()`
319319
to `undefined` on the child otherwise the object will infinitely nest itself when you cast it!.

0 commit comments

Comments
 (0)
Please sign in to comment.