What is TypeScript
TypeScript files use the
.ts extension rather than the
Why do we need TypeScript
Below are the main goals of TypeScript:
Optional Type System
Intellisense & syntax checking
The static Type system contributes to greater IDE tools support. Among the many advantages of the tools support are intellisense, syntax checking, and code completion. This shortens the development period and guarantees that the programmers make fewer typographical errors. The tooling support for Typescript is present in all of the major editors, including VSCode, Atom, and Sublime Text.
Components Of TypeScript
The architecture of TypeScript is neatly organized in different layers as shown in the image below. The three major layers are
The main components are –
- Language what developer writes.
- Typescript Standalone Compiler
- Typescript Language Services
- Stage 0: Strawperson
- Stage 1: Proposal
- Stage 2: Draft
- Stage 3: Candidate
- Stage 4: Finished
And TypeScript generally supports features that are in the stage 3.
An intriguing discussion is definitely worth comment. I think that you should publish more about this topic, it might not be a taboo subject but generally people do not speak about these subjects. To the next! All the best!!
Hello there! I simply would like to give you a huge thumbs up for your excellent information youve got here on this post. I will be returning to your site for more soon.