"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function dynamicTemplate(templateString, templateVariables) {
    const keys = Object.keys(templateVariables);
    const values = Object.values(templateVariables);
    const templateFunction = new Function(...keys, `return \`${templateString}\`;`);
    return templateFunction(...values);
}
exports.dynamicTemplate = dynamicTemplate;
//# sourceMappingURL=util.js.map