resolveReportTextPlaceholders()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Replaces {variable} markers with values. Markers with no value are left as-is. Values are inserted verbatim — there is no recursive expansion.
export declare function resolveReportTextPlaceholders(text: string, values: Record<string, string>): string;
Parameters
Parameter | Type | Description |
|---|---|---|
text | string | |
values | Record<string, string> |
Returns
string
Remarks
A marker resolves wherever it appears, braces around it included, so there is no escape for a literal {name} in report text.