Skip to content

Commit

Permalink
chore: fix typo (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
dexterastin committed Feb 8, 2023
1 parent 5b94eb1 commit 0a78e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ not to mutate the passed in value.** Transforms are run sequentially so each `va
current state of the cast, you can use the `originalValue` param if you need to work on the raw initial value.

```js
let schema = string().transform((value, originalvalue) => {
let schema = string().transform((value, originalValue) => {
return this.isType(value) && value !== null ? value.toUpperCase() : value;
});

Expand Down

0 comments on commit 0a78e2a

Please sign in to comment.