TypeScript to haxe converter