How to copy matching properties from one object to another
<p>I have these two objects:</p>

<pre><code>obj1 = {a: '', b: ''}
obj2 = {a: '1', b: '2', c: '3'}
</code></pre>

<p>I want to copy all matching properties from <code>obj2</code> to <code>obj1</code>. What is the best way of doing that in Typescript?</p>