Upgrade typescript to 0.9