title: Variable of type 'class' in Typescript
body: <p>I'd like to do this: </p>
  
  <pre><code>createClass(c:class):SomeInstance {
     return new class() as SomeInstance;
  }
  </code></pre>
  
  <p>However, it says 'type expected' where I specify the :class part. </p>