Update to TypeScript to version 1.0