UNPKG

@easymoney/bigint-money

Version:
8 lines 467 B
import { RoundingModesType } from "@easymoney/core"; import { BigIntMoneyBase, BigIntMoneyInput } from "./types"; import { BigIntCalculatorBase } from "../calculator"; export declare type Config = { source?: boolean; } | null; export declare function createBigIntMoneyUnit(calculator: BigIntCalculatorBase, roundingMode?: RoundingModesType): <CT>({ amount, currency }: BigIntMoneyInput<CT>) => BigIntMoneyBase<CT>; //# sourceMappingURL=bigIntMoney.d.ts.map