@pelag/nts
Version:
Creation and support of the multilingual project Next.js
8 lines • 410 B
TypeScript
/**
* Replaces placeholders in a string with values from a parameters object
* @param template - template string with placeholders like {{key}}
* @param params - object with parameters for substitution
* @returns string with substituted values
*/
export declare function fillTemplate(template: string, params: Record<string, string | number | boolean>): string;
//# sourceMappingURL=fill-template.d.ts.map