title: How to use spread as parameters in function?
body: <p>I have tried this case:</p>
  
  <pre><code>let a = { id: 1, name: "Misha" };
  
  
  function b(id: number, name: string) {
  
  }
  
  b(...a);
  </code></pre>
  
  <p>I need that all properties of object will be applied as parameters</p>