Updated to typescript 0.8.2