©2017 ASHTBIT SYSTEMS PVT. LTD. OR ITS AFFILIATES. ALL RIGHTS RESERVED.

Why Use TypeScript?

Created: 26 May 2017 / Category: Information Technology /  Views

is a free and open-source programming language developed and maintained by Microsoft. It is a strict superset of JavaScript, and adds optional static typing and class-based object-oriented programming to the language.

“TypeScript is a Superset of JavaScript”

TypeScript builds upon the foundation laid by JavaScript. Any valid JavaScript you write today is perfectly compatible with TypeScript. It provides a richer environment for spotting common errors as you type the code. You cannot embed TypeScript into a web page directly using script tags, but TypeScript (in .ts files) can get compiled into JavaScript (in .js files) for usage.

When your codebase is large, and more than one person works on the project, a type system can help you avoid a lot of common errors. This is especially true for single-page applications.


Due to the dynamic nature of JavaScript variables, it can be difficult to identify bugs until the code is executed at runtime. TypeScript helps to solve this by providing optional static typing.

TypeScript includes support for modern features such as modules, classes, constants, interfaces, and arrow functions that are part of ECMAScript 6 (ECMAScript 2015).

about author

LAIQ BEG

@ Ashtbit

"We would love to hear from you, so please share your thoughts with us at info@ashtbit.com"
Top