does type script have variable type code example
Example 1: variable declare in ts
let a:number =1
let b:Boolean = true
let c:string = "Grepper"
Example 2: angular type of string
if(typeof myVariable === 'string'){
//do
}
let a:number =1
let b:Boolean = true
let c:string = "Grepper"
if(typeof myVariable === 'string'){
//do
}