Updated July 12, 2023
- The main reason behind the development of Typescript by Microsoft is to use it in developing large-scale applications 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 heavily weighted. An interpreted
|It is a light weighted. It is specially designed for the 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 the following:
statements are written
within a 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 be better to use typescript
for developing large projects.
relatively small coding projects.