Update typescript to 1.0.0