initialise a type variable typescript code example
Example: declare and initialize variable in typescript
var name:string = "John";
var score1:number = 50;
var score2:number = 42.50
var sum = score1 + score2
var name:string = "John";
var score1:number = 50;
var score2:number = 42.50
var sum = score1 + score2