@accordproject/concerto-core
Version:
Core Implementation for the Concerto Modeling Language
30 lines (29 loc) • 849 B
TypeScript
/**
* Dummy globalize replacement.
* @param {string} message The message.
* @return {function} A function for formatting the message.
* @private
*/
declare function messageFormatter(message: any): (inserts: any) => any;
/**
* Dummy globalize replacement.
* @param {string} message The message.
* @return {function} The formatted message.
* @private
*/
declare function formatMessage(message: any): any;
/**
* Dummy globalize replacement.
* @param {string} locale The locale.
* @return {Object} A mock globalize instance.
* @private
*/
declare function Globalize(locale: any): {
messageFormatter: typeof messageFormatter;
formatMessage: typeof formatMessage;
};
declare namespace Globalize {
var messageFormatter: (message: any) => (inserts: any) => any;
var formatMessage: (message: any) => any;
}
export = Globalize;