resolvePublisherTextPlaceholdersV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Replaces {variable} markers with values. A marker with no value stays as typed.
export declare function resolvePublisherTextPlaceholdersV2(text: string, values: Partial<Record<PublisherTextVariableV2, string>>): string;
Parameters
Parameter | Type | Description |
|---|---|---|
text | string | |
values | Partial<Record<PublisherTextVariableV2, string>> |
Returns
string