Skip to content

Commit e87b9a9

Browse files
committedMar 6, 2020
readme
1 parent 4c1099b commit e87b9a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Yup's API is heavily inspired by [Joi](https://github.com/hapijs/joi), but leane
99
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
1010
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
1111

12+
1213
- [Install](#install)
1314
- [Usage](#usage)
1415
- [Using a custom locale dictionary](#using-a-custom-locale-dictionary)
@@ -84,6 +85,7 @@ Yup's API is heavily inspired by [Joi](https://github.com/hapijs/joi), but leane
8485
- [`array.ensure(): Schema`](#arrayensure-schema)
8586
- [`array.compact(rejector: (value) => boolean): Schema`](#arraycompactrejector-value--boolean-schema)
8687
- [object](#object)
88+
- [Object schema defaults](#object-schema-defaults)
8789
- [`object.shape(fields: object, noSortEdges?: Array<[string, string]>): Schema`](#objectshapefields-object-nosortedges-arraystring-string-schema)
8890
- [`object.from(fromKey: string, toKey: string, alias: boolean = false): Schema`](#objectfromfromkey-string-tokey-string-alias-boolean--false-schema)
8991
- [`object.noUnknown(onlyKnownKeys: boolean = true, message?: string | function): Schema`](#objectnounknownonlyknownkeys-boolean--true-message-string--function-schema)

0 commit comments

Comments
 (0)