You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The templating engine to use. If set to `"handlebars"`, the Handlebars engine is used for template compilation. Defaults to `undefined` (simple string replacement).
* @param {Object} params - The parameters for composing the context.
15
15
* @param {State} params.state - The state object containing values to replace the placeholders in the template.
16
-
* @param {string} params.template - The template string containing placeholders to be replaced with state values.
16
+
* @param {TemplateType} params.template - The template string or function containing placeholders to be replaced with state values.
17
17
* @param {"handlebars" | undefined} [params.templatingEngine] - The templating engine to use for compiling and evaluating the template (optional, default: `undefined`).
18
18
* @returns {string} The composed context string with placeholders replaced by corresponding state values.
0 commit comments