Currently, I am dealing with two objects:
First Object - A
{
key1 : 'key1',
key2 : 'key2'
}
Second Object - B
{
key1 : 'override a'
}
I am looking to combine them to create the following result:
The Merged Result
{
key1 : 'override a',
key2 : 'key2'
}
If anyone has any recommendations on how to achieve this in TypeScript (or pure JS), please feel free to share!