Skip to content

Commit

Permalink
Capitalize two words (#1676)
Browse files Browse the repository at this point in the history
  • Loading branch information
Glitchy-Tozier authored May 29, 2022
1 parent dc8029a commit facaf39
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit facaf39

Please sign in to comment.