Okay so now that we have a general sense of what TypeScript is, let’s play a quick game of Where’s Waldo.
In the above screenshot, you can spot the differences between
TypeScript in this very simple multiplication program that just prints out the product of two numbers I’ve pre-defined.
What are those differences though? 🤔️
TypeScript has static typing meaning you declare beforehand what type of value the variable will hold and it doesn’t change.
multiplication.ts file, I’m declaring all these variables to be numbers so they cannot be changed to something else.