typescript declare $ code example
Example 1: how to declare variable in typescript
const variableSample: number = 0;
let variableSample: number = 0;
Example 2: variable declare in ts
let a:number =1
let b:Boolean = true
let c:string = "Grepper"
const variableSample: number = 0;
let variableSample: number = 0;
let a:number =1
let b:Boolean = true
let c:string = "Grepper"