

/**
 * Helper if using tobermory.es6-string-html vscode extension
 *
 * @export
 * @param {...any[]} args
 * @returns {string}
 */
export function template(...args: any[]): string {
    let result = '<template>' + args[0][0];
    const inserts = [].slice.call(args, 1);
    for (let i = 0; i < inserts.length; ++i) {
        result += inserts[i] + args[0][i + 1];
    }

    return result + '</template>';
}
