Resolves the type produced by immutably setting value V at path P in T.
V
P
T
Useful when you want to derive the return type of a setIn call without calling the function itself.
Root object type.
Tuple of string / number keys describing the path.
Type of the value to set.
type Original = { user: { profile: { name: string } } };type Updated = DeepSet<Original, ['user', 'profile', 'name'], 'Alice'>;// { user: { profile: { name: string } } } Copy
type Original = { user: { profile: { name: string } } };type Updated = DeepSet<Original, ['user', 'profile', 'name'], 'Alice'>;// { user: { profile: { name: string } } }
Resolves the type produced by immutably setting value
Vat pathPinT.Useful when you want to derive the return type of a setIn call without calling the function itself.