DEV Community

Discussion on: Solve TypeScript 'Not all code paths return a value' by properly using ReturnTypes | CodeReview Chronicles

Collapse
 
jucasoft profile image
jucasoft

excellent and interesting article, suitable for code reviews.
If you need to rewrite poorly written code, or migrate it from js to ts, these are very useful tips.