import { Contract } from "ethers"; import { EthersContractWrapperBuilder } from "./EthersContractWrapperBuilder"; import { MockableEthersContractWrapperBuilder } from "./MockableEthersContractWrapperBuilder"; /** * Putting "wrap" and "mock" methods directly in EthersContractWrapper or EtherContractWrapperList * was causing https://stackoverflow.com/a/44727578 */ export default class WrapperBuilder { static wrap(contract: T): EthersContractWrapperBuilder; static mock(contract: T): MockableEthersContractWrapperBuilder; static wrapLite(contract: T): EthersContractWrapperBuilder; static mockLite(contract: T): MockableEthersContractWrapperBuilder; }