Template string can be replaced with regular string literal.
355 )
356 else {
357 icon
358 ? subsections[`miscWithIcons`].push({359 tsKey,
360 icon: icon as IconList,
361 tsNs,
Description
Template literals are useful when you need:
Strings that have unescaped double quotes and single quotes.
Strings that need line breaks in them.
If neither of these three conditions is met, you can replace the template expression with a regular string literal.
Bad Practice
const dialogue = `"Journey before destination", said Dalinar.`
const dialogue2 = `What is a 'Kwisatz Haderach'?`
Recommended
const dialogue = '"Journey before destination", said Dalinar.'
const dialogue2 = "What is a 'Kwisatz Haderach'?"
const dialogue3 = `"${getLine()}", said ${getChararcter()}`