Update to typescript 1.0.