Update to typescript 1.0.

Typescript (and typescript-api) are both at version 1.0.x now.