What is TypeScript
History of TypeScript
The typescript was created by Anders Hejlsberg. It was originally made available to the general public on October 1, 2012. The latest version of TypeScript 0.9 was published in 2013 after two years of internal development at Microsoft. TypeScript 4.5.4, which was published on 13 December 2021, is the most recent version.
let var = "Hello Welcome to Softhunt.net"; var = 15; console.log(var);
Code Example of TypeScript:
let var: string = "Hello Welcome to Softhunt.net"; var = 15; console.log(var);
- Great tooling supports IntelliSense which provides active hints as the code is added.
- It has a namespace concept by defining a module.
- The compilation of TypeScript code takes a lengthy time.
- Abstract classes are not supported by TypeScript.
TypeScript, on the other hand, is the language of choice for developers who want to write clean, elegant, concise, and readable code. Not to mention TypeScript's benefits in terms of live error checking and static typing.
Top comments (2)
Where's the TypeScript from the 2nd example of code?
I will update it thankyou for pointing it out.