decimal.js-i18n
Version:
Full internationalization support for decimal.js.
14 lines (13 loc) • 540 B
TypeScript
/*!
* Copyright (c) 2022 Pedro José Batista, licensed under the MIT License.
* See the LICENSE.md file in the project root for more information.
*/
import type Decimal from ".";
/**
* Asynchronously extend a Decimal-like constructor with the internationalization support of `decimal.js-i18n`.
*
* @param decimalClass Decimal class/constructor to be extended.
* @returns The augmented class/constructor.
*/
export declare const extend: (decimalClass: Partial<Decimal.Constructor>) => Promise<typeof Decimal>;
export default extend;