Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function buildContainerTemplate (level: number, restart = false) {
let tmpl = ''
if (restart) {
tmpl = ''
} else {
tmpl = `<template is="">`
}
return `
<template name="tmpl_${level}_${Shortcuts.Container}">
${tmpl}
</template>
`
}
</template>