TypeScript Introduction


typescriptlogo

Here is what Wikipedia says about TypeScript: “TypeScript is a free and open-source programming language developed and maintained by Microsoft. It is a strict super-set of JavaScript, and adds optional static typing and class-based object-oriented programming to the language”.

TypeScript is designed for development of large applications and transcompiles to JavaScript. As TypeScript is a super-set of JavaScript, any existing JavaScript programs are also valid TypeScript programs.

As the name TypeScript suggests, TypeScript is JavaScript with types. TypeScript can catch errors in your code when you use the wrong type. For example, if you try to pass a number to a function that expects a string, the TypeScript compiler will throw an error and will not be able to compile the TypeScript code into JavaScript.

More Information

For more information about TypeScript, check out the TypeScript Handbook website.

The Udemy website has a free course in TypeScript. It starts at the very beginning. Sign-up with your email address and take the TypeScript course. This series of blog posts was based on that video.

Series NavigationTypeScript Installation >>

Leave a comment

Your email address will not be published. Required fields are marked *