Updated to TypeScript 0.9