title: Referencing the constructor function
body: <p>Im wondering how I can get a reference to a types constructor to pass the function as a value. 
  Basically, I would like to have a generic type registry that would allow instances to be created by calling a member function of a generic type registry instance.</p>
  
  <p>For example:</p>
  
  <pre><code>class GeometryTypeInfo
  {        
      constructor (public typeId: number, public typeName: string, public fnCtor: (...args: any[]) =&gt; IGeometry) {
      }
      createInstance(...args: any[]) : IGeometry { return this.fnCtor(args); }
      }
  }
  </code></pre>
  
  <p>Later:</p>
  
  <pre><code>class Point implements IGeometry {
      constructor(public x: number, public y: number) { }
  
      public static type_info = new GeometryTypeInfo(1, 'POINT', Point); // &lt;- fails
      // also fails: 
      //    new GeometryTypeInfo(1, 'POINT', new Point);
      //    new GeometryTypeInfo(1, 'POINT', Point.prototype);
      //    new GeometryTypeInfo(1, 'POINT', Point.bind(this));
  }
  </code></pre>
  
  <p>Anyone know if it is possible to reference a classes constructor function?</p>