Exactly the same as fpShallowMerge but the types are relaxed to accept undefined and null. You may want
to use this version when the target object is potentially undefined but you know that the to-be merged objects will
result in a full object. This version is harder for TypeScript to infer the proper type, so you may need to
explicitly pass <T>.
Exactly the same as fpShallowMerge but the types are relaxed to accept
undefined
andnull
. You may want to use this version when the target object is potentially undefined but you know that the to-be merged objects will result in a full object. This version is harder for TypeScript to infer the proper type, so you may need to explicitly pass<T>
.