Tried this on a project of mine. Enums seem to work fine for me.
EDIT: There are some issues with enums indeed https://github.com/babel/babel/tree/master/packages/babel-pl...
Tried this on a project of mine. Enums seem to work fine for me.
EDIT: There are some issues with enums indeed https://github.com/babel/babel/tree/master/packages/babel-pl...
Because he thinks you can't do JS development without Babel.
(I haven't used TypeScript yet, so I might be wrong)
The only counter-example that I know of is that async/await were initially only supported when transpiling to ES6, but this is not true since at least 2.2 (https://github.com/Microsoft/TypeScript/issues/5210).
The error log shows me the rest of the files that need fixing.
How would you get that with Babel?
But you could just run "tsc --noEmit --watch" which will just report the project wide type errors to the console as you edit files.
(I work on Babel)