title: How can i include constructor signatures in a class?
body: <p>So I have this scenario where I perform an exclude and I am left with my expected type. When I try to instantiate a class with my type I get this error from the typescript compiler <code>Type 'MyClass' has no construct signatures</code></p>
  <pre><code>class MyClass {
  }
  
  type U = Exclude&lt;MyClass | string, string&gt; // U = MyClass
  
  // ...
  
  function example(_myClass: U) {
      const instance = new _myClass();
      // ts error `Type 'MyClass' has no construct signatures`
  }
  </code></pre>
  <p><a href="https://www.typescriptlang.org/play?#code/MYGwhgzhAECyCeBhcVoG8BQBfDGAu8ADgKbQCq0AvNAKIAeoArgCbEA8CykMAPtBHgBOASwB2AcwA0-IWPEA%20aAHol5KnCQoIuFdAB0B3ADNGo4HmEB7UdGJ0wAW0IhiACgD6DzdwBc5AJToGNAh0MDWAtBiAmBmpNSixADu0J7eUK7%20ANzBobp4MMSCgpaC0AAGACpEpADknFq10AAWkNCilmERQozm-MLiomB4jILEEOXYQA" rel="nofollow noreferrer">Playground link</a></p>