Skip to content

Commit 9eec95b

Browse files
committed
adjust readme to mention type-fest as a supplementary library rather than included convenience
1 parent f95fbec commit 9eec95b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function merge<TData extends MergeableObject = MergeableObject, TResult extends
6565
```
6666

6767
> [!IMPORTANT]
68-
> The [`Merge`](https://github.com/sindresorhus/type-fest/blob/main/source/merge.d.ts) and [`MergeDeep`](https://github.com/sindresorhus/type-fest/blob/main/source/merge-deep.d.ts) types from [`type-fest`](https://github.com/sindresorhus/type-fest) are shipped from this library as a convenience. It is not unreasonable to use those types directly instead.
68+
> The [`Merge`](https://github.com/sindresorhus/type-fest/blob/main/source/merge.d.ts) and [`MergeDeep`](https://github.com/sindresorhus/type-fest/blob/main/source/merge-deep.d.ts) types from [`type-fest`](https://github.com/sindresorhus/type-fest) are great additions to this library. It is not unreasonable to use those types for your merge typing needs.
6969
7070
Without explicitly passing in types the function will infer the shape of the object(s) passed in.
7171

0 commit comments

Comments
 (0)