What is it?
Dynamic typing vs. Static type checking…
- TypeScript helps predict behavior of values so we can avoid a lot of hidden errors!
How to use?
Before implementing anything in your code, you will need to install the tsc or TypeScript compiler. Easiest way to do this is in your terminal and give it the old npm install package name!
Or to global install use this below in your terminal …
There are many other ways to implement TypeScript and many other benefits but I especially love the fact that it makes our lives as programmers easier! To get closer and closer with every commit to being able to predict what our code will do is a life saver! Enjoy!