News for hackers. Stuff that matters.
Re:Using TypeScript with React by _bxg1 on Thursday August 22, 2019 @09:46AM (#20767982)
Dependency types are definitely one of TypeScript's biggest weaknesses.

That said, it can be seen as encouragement to minimize your dependencies. The big ones like React will be kept up to date, so if you have lots of breakage you're probably using lots of smaller dependencies.

As for mitigation strategies, you can always just use "any" as a temporary stopgap, or you can even write your own type files for third part libraries depending on how big of a footprint those have in your own code.

There are no comments on this comment yet.