Update to TypeScript version 1.0