- Install babel (https://babeljs.io/setup#installation)
- Add typescript (https://blogs.msdn.microsoft.com/typescript/2018/08/27/typescript-and-babel-7/)
- Change all files from
.jsextension to.ts. - Set up the development process to be
babel-node --extensions '.ts,.tsx’ index.ts - Install
tslint. (https://palantir.github.io/tslint/usage/cli/). Here you have atslint.jsonfile example:
{
"extends": "tslint:recommended",