office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
8 lines (7 loc) • 364 B
TypeScript
/**
* String Format is like C# string format.
* Usage Example: "hello {0}!".format("mike") will return "hello mike!"
* Calling format on a string with less arguments than specified in the format is invalid
* Example "I love {0} every {1}".format("CXP") will result in a Debug Exception.
*/
export declare function format(s: string, ...values: any[]): string;