|
|
|
|
|
by dobladov
1133 days ago
|
|
We do this at my current company for all projects, it does not mean you don't use typescript, you will still validate all your files with TS, but there's no build step, just a check. Very rarely we find a case that we can't cover with JSDoc annotations, and most of the time it means the code could be refactored to be simpler. I do this now for all my personal projects, in my opinion it's simpler, faster and closer to pure JS. |
|
[1] https://github.com/tc39/proposal-type-annotations