the template string
Optional
argNames: string[]The names of the parameters of the returned function (which can be 'seen' inside the template string). Defaults to: ['arg'].
Rest
...args: any[]import { template } from 'deleight/template';
const t = template('I will render this ${arg} immediately!!!')('guy');
// t === 'I will render this guy immediately!!!'
Effectively creates a template literal out of an existing template string and wraps it in a function which can be called multiple times to 'render' the template with the given arguments.