Month: May 2020

Variables in TypeScript

Variables in TypeScript

There ia a number of structure to define a variable in typescript and we are going to discuss upon that, var/let [variable name] : [type of the variable] = [value] In this case first have to write the keyword ver or let then the variable name and after that have to write the variable type […]

Read More
Variable Types in TypeScript

Variable Types in TypeScript

TypeScript supports various types of values like a number, string, etc and to store them there are a few numbers of variables also, In TypeScript here is 6 type of variable in typescript and they are as described below, Number: To declare a number type variable first use the keyword let or var then the […]

Read More
Typescript Basic Syntax

Typescript Basic Syntax

All the programming languages used their own syntax, So TypeScript also has defined its own syntax, TypeScript is composed of – Modules Functions Variables Statements and Expressions Comments To run the typescript page and convert to javascript, first locate the folder where your script file exists, then have to use tsc followed the filename, you […]

Read More
How to install and setup the environment for typescript?

How to install and setup the environment for typescript?

To learn any language first need to set up the environment and to set up the environment for typescript we have to install some software and packages. We are going to discuss that one by one. To work on Typescript first we need node.js so whatever operating system you are using you have to install […]

Read More
TypeScript Tutorial Overview

TypeScript Tutorial Overview

The javascript is built for client-side application handling and after introducing of node js we can handle the server-side also that is the database interaction also can be handled by javascript also, Now typescript is the superset of javascript, That is if you write code in javascript and save that as a .ts extension and […]

Read More