TypeScript logo


TypeScript is a programming language developed by Microsoft. It is a strong object-oriented and compiled language as well as a set of tools. Simply put, TypeScript is Javascript with extra features. While designed for developing large applications, TypeScript can be used for server-side and client-side execution. It supports definition files with information on existing JavaScript libraries and allows development of Node.js programs. The typescript was developed with the sole purpose of providing custom tooling without the complications of component development in JavaScript.

TypeScript Benefits

Strong static typing: The TypeScript Language Service (TLS) offers the option of type inference system and static typing. You can use TLS to infer the type of a variable based on its value.

Compilation: Because javascript is an interpreted language, running tests to ensure the validity of codes is necessary. You can write a hundred lines of code, only to find no output due to an error. TypeScript offers an error checking feature that compiles your code and generates compilation errors. This makes it easy to identify syntax errors before running a code.

Type definitions: TypeScript supports type definitions for external and existing JavaScript libraries. This is particularly handy when one needs to integrate with a JavaScript base.

Portability: TypeScript works well across different devices, monitors and browsers. Unlike other languages, it doesn’t require a specific environment or dedicated VM to execute.

Polyfill for ES6 fat-arrow syntax: TypeScript supports fat arrow syntax implementation, which is a shorter and more convenient syntax compared to the traditional definition of functions.

Built and maintained by Microsoft: Because it is built by a reliable brand, TypeScript is more likely to receive long-term support compared to other open source programming languages.

Native looking code: TypeScript compiles to native looking code, which is easy to understand and learn. This is particularly true for those who already know JavaScript

TypeScript Features

  • Type inference
  • Interfaces
  • Generics
  • Tuples
  • Type annotations
  • Compile time checking
  • Type erasure
  • Enumerated types
  • Namespaces
  • Async/await
  • Classes
  • Modules
Plugins and integrations – Visual Studio, WebMatrix, Sublime Text, Atom, NetBeans IDE, Eclipse IDE etc.

TypeScript Pricing

  • TypeScript is an open source and free.

TypeScript's Alternative

Foundation 6

by ZURB Foundation

Foundation is a front to end framework developed by Zurb. It is basically a collection of CSS, HTML and JavaScript with design patterns that users can build upon. Learn more about Foundation 6