First version of porting javascript to typescript.
It takes me a little bit long time to decide the ways for porting typescript. I have two choice, and this version I choose the way to keep the original function structure of javascript and cast function to class.
The way i don't select is to converting function of ObjCObject, ObjCProtocol, ObjCBlock, ObjCIvars to typescript classes. It need more modifications for original javascript code.
@oleavr
Please check the porting, and give me some advice if this porting is OK. If it is fine, i will continue this way and make the unit test work.
First version of porting javascript to typescript.
It takes me a little bit long time to decide the ways for porting typescript. I have two choice, and this version I choose the way to keep the original function structure of javascript and cast function to class.
The way i don't select is to converting function of
ObjCObject
,ObjCProtocol
,ObjCBlock
,ObjCIvars
to typescript classes. It need more modifications for original javascript code.@oleavr Please check the porting, and give me some advice if this porting is OK. If it is fine, i will continue this way and make the unit test work.