detect if project is TypeScript and generate TypeScript instead of javascript
detect if project is TypeScript and generate TypeScript instead of javascript