@myria/airdrop-js
Version:
Airdrop in L1 with claim based approach
22 lines (20 loc) • 298 B
text/typescript
/* eslint-disable */
/**
* Common module.
* @module Common
*/
/**
* Extension for BigInt
* @interface BigInt
*/
interface BigInt {
toJSON(): string;
}
/**
* Serialize BigInt to JSON
* @function
* @name toJSON
*/
BigInt.prototype.toJSON = function () {
return this.toString();
};