support TypeScript 1.0.0