@melonproject/token-math
Version:
A small helper library to do precision safe calculations
10 lines (9 loc) • 377 B
TypeScript
import ConvertableBigInteger from "../bigInteger/ConvertableBigInteger";
import BigInteger from "../bigInteger/BigInteger";
import QuantityInterface from "../quantity/QuantityInterface";
export declare type Add = {
(...summands: ConvertableBigInteger[]): BigInteger;
(...summands: QuantityInterface[]): QuantityInterface;
};
declare const add: Add;
export default add;