typescript build string with variables code example
Example: typescript string interpolation
//Works only with ES6/ES2015 and above
let playerName:string = "Sachin Tendulkar";
console.log(`${playerName} is the greatest cricketer of all time`)
//**** Output ****
//Sachin Tendulkar is the greates cricker of all time