How to Declare Variables in TypeScript

In the previous few chapters of this TypeScript Tutorial series, we learned how to install TypeScript and then created a simple HelloWorld application. We have also learned about the TypeScript configuration file (tsconfig.json).
In this post, we will learn various ways to declare variables in TypeScript.