修改typescript编译器，使它能和cocos2djs一起工作

Signed-off-by: yindongfei <yin.dongfei@gmail.com>