pig-dam-core
Version:
Library that should be included in every Pig DAM project we build
18 lines • 526 B
TypeScript
/**
* Date: 6/3/18
* Time: 11:39 PM
* @license MIT (see project's LICENSE file)
*
*/
/**
* Does substitution of variables in template string. Encoding of variables should be as follows: {{variable}}
* @param template
* @param variables - set of key/values
* @param interpolate - regex pattern for finding substitution variables
*/
export declare function render(template: string, variables: {
[key: string]: any;
}, { interpolate }?: {
interpolate?: RegExp;
}): string;
//# sourceMappingURL=template.d.ts.map