- The main reason behind the development of typescript by Microsoft is to make it used in the development of large-scale applications both at Microsoft and its external customers.
interpreted programming language.
|As already explained above, it was designed and developed by Anders
Hejlsberg at Microsoft.
|Brendan Eich at Netscape
Communications Corporation, Mozilla Foundation, ECMA
|Light/Heavy Weight||It is heavy weighted. An interpreted
|It is a light weighted. It is specially designed for development of large
application and trans
|Client Side/ Server Side||Specially used in Client
|Both client-side and
|File Extension||. ts, .tsx||.js|
|Syntax||Syntax defines a set of rules for writing
programs. Every language specification defines its own syntax.A Typescript program is composed of:
statements are written
within Script tag. It tells the browser program to start
interpreting all the text
between these tags as a
|Example||var message:string =
“Hello India”console.log(message)On compiling, it will generate the following
var message = “Hello
|Since Typescript is an object-oriented
language. Which makes
our code more consistent,
clean, simple and reusable. So it
should better to use typescript
for developing large projects.
relatively small coding projects.