title: Typescript instantiate generic object
body: <p>I have this problem, and search for hours and can't find the right solution for it.
  I'm trying to create a generic function that revives an type and an object and convert the object to that specific type. but I'm having troubles to instantiate the generic type. I would like to know if there are something like in c# Activator.CreateInstance</p>
  
  <pre><code>handleResult&lt;T&gt;(response: Response):T {
      let jsonResp = response.json();
      let obj = jsonResp as Object;
      let resp: T = Object.CreateInstance(T); //        
      doTheMambo(resp, obj);
      return resp;
  }
  </code></pre>