Type Enthusiast's Notes about TypeScript part 1(rpeszek.github.io)
rpeszek.github.io
Type Enthusiast's Notes about TypeScript part 1
https://rpeszek.github.io/posts/2021-12-12-ts-types-part1.html
https://rpeszek.github.io/posts/2021-12-12-ts-types-part1.html
It's still JavaScript, all it does is making the code more verbose and catch some really trivial errors at "compile"-time (transpile != compile), which can be checked by much easier and more general approaches, aka. code discipline, proper design and avoiding code smells.