Check out example codes for "typescript string interpolation". It will help you in understanding the concepts better.

Code Example 1

//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
 

Learn ReactJs, React Native from akashmittal.com