https://github.com/develar/ts-babel
Compile Typescript to JS
https://github.com/develar/ts-babel
babel typescript
Last synced: 11 months ago
JSON representation
Compile Typescript to JS
- Host: GitHub
- URL: https://github.com/develar/ts-babel
- Owner: develar
- Created: 2016-01-18T07:31:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-02T00:30:23.000Z (about 6 years ago)
- Last Synced: 2025-07-05T22:01:42.338Z (12 months ago)
- Topics: babel, typescript
- Language: TypeScript
- Homepage:
- Size: 813 KB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TypeScript allows you only to set target. If you target to es6, no way to compile `rest parameters` to ES5.
But you have to do it because Node support ES6 features step by step and some features [are behind flags](https://nodejs.org/en/docs/es6/).
So, [Babel](http://babeljs.io) is used to transform code.
Run `ts-babel` to compile. Compiler options are taken automatically from your `tsconfig.json`.
Specify [babel configuration](https://babeljs.io/docs/usage/babelrc/) in the `package.json`.
## Related
* [Generate JSDoc from Typescript](https://github.com/develar/ts2jsdoc)