title: create a new class using a string name in typescript
body: <p>I am writing an XML loader/parser (and new to typescript), I can load the XML fine, however I'm trying to dynamically parse the XML data back into a class/object. The problem is, I would like to create a class using a string variable;
  ie
  <code>var classNameString:String = "className";</code></p>
  
  <p><code>var newClass:any = new class(classNameString)</code></p>
  
  <p>from my many searches of the internet it doesn't appear possible, and I'm going to have to hardcode the class names. Any help would be greatly appreciated.</p>