so,let get started…
What is TypeScript?
Typescript is create and maintained by Microsoft.
Need of TypeScript?
Typescript is an open source pure object-oriented programming language.
Designed for large scale JS application development, which can executed on any browser, any Host any any OS
Typescript supports Static Typing, Modules, Optional parameters, etc.
TypeScript supports Object-Oriented programming features such as classes, interfaces, inheritance, etc..
How Typescript works?
Typescript is Resembles Langues Like Java and C# which gives us Gives us a bunch of extra features and Includes many ES6 features.
To compile TypeScript we need something called the TypeScript Compiler to do that also called TSC which is included with the Angular CLI as well as the QuickStart
Available variable Type in Typescript:
- Void – Must be undefined
- Tuple – Specifc format for array like [string,number]
So, in this article we have covered some basic of typescript, if you like this article please comment and let me know if you want more advance tutorials.
Happy Coding! Thanks for reading.
Do let me know If you face any difficulties please feel free to comment below we love to help you. if you have any feedback suggestion then please inform us by commenting.