@melonproject/token-math
Version:
A small helper library to do precision safe calculations
13 lines (12 loc) • 391 B
TypeScript
import JSBI from "jsbi";
/**
* This is a super small helper class just to enable type safety
* It stores its value as a string.
*
* This class is not intended to be enhanced or anything (since we are still strictly functional here)
*/
export declare class BigInteger extends String {
readonly value: JSBI;
constructor(value: number | string | any);
}
export default BigInteger;