@quenty/nevermore-template-helpers
Version:
Helpers to generate Nevermore package and game templates
8 lines • 387 B
TypeScript
/**
* Substitute `{{VAR}}` placeholders in a template string using Handlebars.
*
* `noEscape` is set to true so that values containing `&`, `<`, etc. are
* NOT HTML-escaped — critical when the template contains Lua source code.
*/
export declare function substituteTemplate(template: string, vars: Record<string, string>): string;
//# sourceMappingURL=substitute-template.d.ts.map