brazejs
Version:
Liquid template engine for the Braze variant by pure JavaScript: compatible to Braze, easy to extend.
12 lines (11 loc) • 328 B
TypeScript
import Context from '../../context/context';
/**
* Key-Value Pairs Representing Tag Arguments
* Example:
* For the markup `{% include 'head.html' foo='bar' %}`,
* hash['foo'] === 'bar'
*/
export default class Hash {
[key: string]: any;
static create(markup: string, ctx: Context): Promise<Hash>;
}