upgraded to typescript 1.3