Getting started with TypeScript

Getting started with TypeScript

In this post we will take look at some basic of Typescript.

so,let get started…

What is TypeScript?

TypeScript is an open source, plain and class-based object-oriented programming language used to create and maintain large and complex Javascript applications easily.

Typesscript is also know as Super set of Javascript with added feature, so EveryValid Javascript Code is Valid Typescript code.

Typescript is create and maintained by Microsoft.

How Typescript works?

In single page application(SPA) like Angular or Ionic, we program using Typescript and it compiles into plain and browser readable Javascript,this is how we easily program complex and largeApplication in easy and maintainable way using Typescript.

Typescript is Resembles Langues  Like Java and C# which gives us Gives us a bunch of extra features and Includes many ES6 features.

To compile TypeScript we need something called the TypeScript Compiler to do that also called TSC which is included with the Angular CLI as well as the QuickStart

  Available variable Type in Typescript:

  • String
  • Number
  • Boolean
  • Array
  • Any
  • Void – Must be undefined
  • Null
  • undefined
  • Tuple – Specifc format for array like [string,number]

So, in this article we have covered some basic of typescript, if you like this article please comment and let me know if you want more advance tutorials. 


Happy Coding! Thanks for reading.

Do let me know If you face any difficulties please feel free to comment below we love to help you. if you have any feedback suggestion then please inform us by commenting.

Subscribe to our Newsletter

Stay up to date! Get all the latest posts delivered straight to your inbox.

If You Appreciate What We Do Here On TutsCoder, You Should Consider:

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

Leave a Comment