Upgrade to TypeScript 1.0.

That was a lot less painful than 0.9.5.