Fundamental details on What is Variable Type and How Variable Types Work in TypeScript? and also specifically How to use Type Annotation TypeScript?
how to declare Variables in TypeScript
How to Declare Variables in TypeScript?
How to declare Variables in TypeScript and what is the difference between let and var Keyword in TypeScript as well JavaScript and Solve var keyword issue by replacing it with let keyword