Hacker News new | ask | show | jobs
by dinduks 4696 days ago
The problem with TypeScript is its requirement for definition files which are most of the time outdated. That makes it unusable in a real project where many JS libs live together. (not saying that's the case all the time)
1 comments

No, it's not a problem. You don't need the definition files if you don't care about getting the supporting static typing on external libs.

It is completely doable to simply let the external libs call to be dynamic and guard your core code with static typing.