TypeScript for cocos2d-html5 coding?

TypeScript for cocos2d-html5 coding?
0.0 0



have anyone tried or analyzed the possibility to use the new microsoft TypeScript to write cocos2d-html5 games in a statically typed languange?

From what I understand, TypeScript is an optionally statically typed language which compiles to javascript (like Haxe) and hopefully can use existing javascript frameworks transparently (which I guess is harder with something like Haxe).




@AdamD have commit partial TypeScript definitions file now on github.
see http://www.cocos2d-x.org/forums/19/topics/30777


see: https://github.com/dalste/starting-typescript-and-cocos2dx