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