Introduction to TypeScript

anil gurung
1 min readFeb 14, 2021

--

In this blog post, I will be giving a brief introduction about one of the another most important programming languages. This language is called TypeScript.

TypeScript is a strongly typed, object oriented, compiled language. It was designed by Anders Hejlsberg at Microsoft. TypeScript is both a language and a set of tools. TypeScript is a typed superset of JavaScript compiled to JavaScript. In other words, TypeScript is JavaScript plus some additional features.

source: techrangle.com

Some of the features of TypeScript are;

1.TypeScript is just JavaScript.

TypeScript starts with JavaScript and ends with JavaScript. It adopts the basic building blocks of the program from JavaScript.

2. TypeScript supports other JS libraries.

The compiled TypeScript can be consumed from any JavaScript code. TypeScript-generated JavaScript can reuse all of the existing JavaScript frameworks, tools, and libraries.

3. JavaScript is TypeScript.

This means that any valid .js file can be renamed to .ts and compiled with other TypeScript files.

4. TypeScript is portable.

This language is portable across browsers, devices, and operating systems. It can run on any environment that JavaScript runs on.

References:

--

--