@wordpress/i18n
Version:
WordPress internationalization (i18n) library.
13 lines • 451 B
TypeScript
/**
* Returns a formatted string. If an error occurs in applying the format, the
* original format string is returned.
*
* @param {string} format The format of the string to generate.
* @param {...*} args Arguments to apply to the format.
*
* @see https://www.npmjs.com/package/sprintf-js
*
* @return {string} The formatted string.
*/
export function sprintf(format: string, ...args: any[]): string;
//# sourceMappingURL=sprintf.d.ts.map