Incorrect typescript type for source parameter of assign method
Neaox opened this issue · comments
The assign
method's source
is incorrectly typed to T
which is the root type, this is usually not the case as you generally are updating (assigning) a nested value, whos type is contained within, but not equal to T.
The correct type for the source
parameter would be any