Closed jonnytest1 closed 2 years ago
The Partial
type is planned to be removed completely in the next version (whenever that may happen). A much more in-depth merging is planned.
See https://github.com/TehShrike/deepmerge/pull/226, specifically the types.ts file for more details. However, the typings there may be a little out of date now. See this alternative for the latest work on the typings (currently release as deepmerge-ts)
this way subobjects can also be partial but need to have the correct types if provided