Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ If the end value is `undefined` yup will apply the schema default if it's config

### Validation: Tests

yup has robust support for assertions, or "tests", over input values. Tests check that inputs conform to some
Yup has robust support for assertions, or "tests", over input values. Tests check that inputs conform to some
criteria. Tests are distinct from transforms, in that they do not change or alter the input (or its type)
and are usually reserved for checks that are hard, if not impossible, to represent in static types.

Expand Down Expand Up @@ -295,7 +295,7 @@ interface Person extends yup.InferType<typeof personSchema> {}

### Schema defaults

a schema's default is used when casting produces an `undefined` output value. Because of this,
A schema's default is used when casting produces an `undefined` output value. Because of this,
setting a default affects the output type of the schema, effectively marking it as "defined()".

```ts
Expand Down