Codementor Events

JavaScript written with Typescript Syntax

Published Jul 08, 2018Last updated Jul 09, 2018
JavaScript written with Typescript Syntax

From the very beginning of Javascript's arrival, JS had been facing some unavoidable issues on managing large scale projects. Managing global variable scope, prototypal inheritance just made things more and more difficult to manage. The great challenge was to give Javascript a Object Oriented Programming standard while managing OOP features went more challenging than solving project's business features.
Typescript came with solutions. Typescript provided a super set of Javascript syntaxes to make codes more readable and manageable. JS programmers got a great chance to focus on business logic solutions instead of managing their tool.
In this post, we'll see how TS(typescript) can make ease JS(Javascirp) writing.
We'll use following tools to get full advantages of using Typescript to Javascript.
Tool list:

  1. NodeJS (install nodejs into your machine from here )
  2. Install typescript using following command:
npm install typescript -g

I promise, you are never going to write plain Javascript after reading Typescript syntaxes.

Now it's time to learn TS from https://www.typescriptlang.org/index.html

Discover and read more posts from Bilas Siddiq
get started
post commentsBe the first to share your opinion
Show more replies