ethers.js/packages/math/lib/convert.d.ts

6 lines
405 B
TypeScript
Raw Permalink Normal View History

2022-04-11 17:14:19 -04:00
import type { BigNumberish, Numeric } from "@ethersproject/logger";
export declare function toBigInt(_value: BigNumberish | Uint8Array): bigint;
export declare function toNumber(_value: BigNumberish | Uint8Array): number;
export declare function toHex(_value: BigNumberish, _width?: Numeric): string;
export declare function toArray(_value: BigNumberish): Uint8Array;
//# sourceMappingURL=convert.d.ts.map