updating to typescript 0.9