First draft of TypeScriptGenerator