Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
risu729 authored Jul 16, 2023
1 parent c01d5eb commit 6b09b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/deepmergeCustom.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ For example, skipping all properties under the key `"skipme"` of type `Date`:

```ts
const customizedDeepmerge = deepmergeCustom({
mergeOthers: (value, utils, meta) => {
mergeOthers: (values, utils, meta) => {
if (meta?.key === "skipme") {
const nonDateValues = values.filter((value) => !(value instanceof Date));
if (nonDateValues.length === 0) {
Expand Down

0 comments on commit 6b09b31

Please sign in to comment.