support for TypeScript 1.0