TypeScript — What & Why You Should Use It

Sherlynn
4 min readMay 7, 2020

In my current project, we’re using TypeScript (rather than pure Javascript) for a large-scale application with Node.JS on the server side. And I think it’s really awesome🌹 There’s abit of a learning curve at the start but eventually you come to really appreciate the benefits that it offers❤️️
So here’s a brief introduction of what it is and why you may want to consider using it.

What is TypeScript?

  • TypeScript is an open source programming language that is developed and maintained by Microsoft in 2012
  • TypeScript is designed for large-scale JavaScript application development
  • TypeScript brings ‘types’ (or datatypes) to JavaScript.
  • TypeScript is a typed superset of JavaScript, it is a wrapper around JavaScript
  • TypeScript is a strongly-typed language and this means that you have to be specific with variable typing
  • TypeScript is only for development. To run in browser, it must be converted to either ES6 or ES5 version of JavaScript.
TypeScript — a Superset of JavaScript

--

--