howsmydriving-utils
Version:
Utilities used by howsmydriving package any howsmydriving-[region] plug-in modules.
18 lines (17 loc) • 396 B
TypeScript
/**
* Adds pluralization function for specified locale.
* Usually externally called by locale itself.
*
* @param {string} locale
* @param {function} callable
*/
export function addLocale(locale: string, callable: Function): void;
/**
* Creates new instance.
*
* @param {object} config
*
* @returns {object}
*/
declare function factory(config: any): any;
export { factory as create };