title: Dynamic new Object from class - Angular 4
body: <p>I try to create dynamic object in function but it is not recognized.</p>
  
  <pre><code>function1(object: object) { return new object(); }
  </code></pre>
  
  <p>I call this function with :</p>
  
  <pre><code>function1(Test)
  </code></pre>
  
  <p>Test is a simple Class.</p>
  
  <pre><code>export class Test {}
  </code></pre>
  
  <p>But I to this error :</p>
  
  <pre><code>Cannot use 'new' with an expression whose type lacks a call or construct signature.
  </code></pre>
  
  <p>Any idea ?</p>