Improve your TypeScript’s codebase by avoiding these mistakes

1. Not Enabling Strict Mode

2. Redeclaring interfaces

3. Not Relying on Type Inference

4. Incorrect use of Overloading

5. Using the Function Type

6. Relying on a Third Party for Immutability

7. Not Understanding the infer/never Keywords

Continue reading on Better Programming »

#typescript 

Top 7 Typescript Common Mistakes To Avoid
3.30 GEEK