@nodesecure/i18n
Version:
NodeSecure Internationalization
16 lines • 620 B
TypeScript
/**
* @function taggedString
* @memberof utils#
* @description Create a tagged String
* @param {TemplateStringsArray} chaines initial string
* @param {string[] | number[]} cles keys
* @returns {Function} Return clojure function to build the final string
*
* @example
* const { taggedString } = require("@myunisoft/utils");
*
* const myStrClojure = taggedString`Hello ${0}!`;
* console.log(myStrClojure("Thomas")); // stdout: Hello Thomas!
*/
export declare function taggedString(chaines: TemplateStringsArray, ...cles: string[] | number[]): (...valeurs: any[]) => string;
//# sourceMappingURL=utils.d.ts.map