15 lines
386 B
TypeScript
15 lines
386 B
TypeScript
/**
|
|
* String format method, used for scenarios where at runtime you
|
|
* need to evaluate a formatted string given a tokenized string. This
|
|
* usually only is needed in localization scenarios.
|
|
|
|
* @example
|
|
* ```tsx
|
|
* "I love {0} every {1}".format("CXP")
|
|
* ```
|
|
* will result in a Debug Exception.
|
|
*
|
|
* @public
|
|
*/
|
|
export declare function format(s: string, ...values: any[]): string;
|