Introduction of TypeScript, Definition, Meaning & Features of TypeScript

  TypeScript is a strongly typed, object oriented, compiled language.

Introduction of TypeScript

TypeScript is an open-source language which allows the user to builds upon the JavaScript, TypeScript offers all the features of JavaScript means the user can use the features of JavaScript. It adds the static type definition to the javascript. It describes the shape of objects by which user can easily manage their typescript programs, users can easily understand the shape of the objects.

TypeScript superset of JavaScript.

In typescript, Type is optional, As typescript acquired all the features of javascript it can understand the javascript code. Now, we can say TypeScript is a superset of javascript.

Remember, TypeScript is not a scripting language, it’s a programming language that needs to be compiled first using a compiler, then it will be able to run on any browser, the typescript compiler compiles the typescript (.ts) code into javascript( .js) executable file.

Table of Contents


  1. TypeScript is an Open Source programming language.
  2. TypeScript is pure object- oriented programming language.
  3. TypeScript is also designed for large – scale app development.
  4. It is also a compiled language
TypeScript superset of JavaScript.

History of TypeScript

It was developed and designed by Anders Hejlsberg (designer of C#) at Microsoft. It influenced by AtScript, AssemblyScript language. The First version of TypeScript was released on 1 October 2012, the first version named TypeScript version 0.8 after the 2 years of development. Later, in 2013 the version 0.3 was released which supports the generics. It was built to overcome the large-scale applications development, JavaScript code led to demand custom tooling to ease developing of components in the language.

Features of TypeScript

Features Descirption
Compatibility with JavaScript TypeScript is a superset of JavaScript also known as ECMAScript. JavaScript program is also valid in the TypeScript programming language. It can also able to use compiled existing javascript(.js) code.
Classes TypeScript supports classes that help to integrate the optional type annotations support.
Type annotations As javascript, provides the primitive data types like, number boolean, string, and objects, it ignores the data types you assigned constant but in TypeScript, it can enable achieved by type annotations which enable type checking at compiled time.
Declaration files In TypeScript, when typescript gets compiled there is an option to generate a declaration file (with the extension .d.ts).
Generics it supports the Generic Programming Language as C and C++ support.
TypeScript is portable TypeScript is a portable language, which allows the user to run on different types of devices, and operating systems using the browser. It can run anywhere, where javascript can run.

Leave a Reply

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