@nomicfoundation/hardhat-ethers
Version:
Hardhat plugin for ethers
12 lines (10 loc) • 408 B
text/typescript
import "hardhat/types/network";
import type { HardhatEthers } from "./types.js";
declare module "hardhat/types/network" {
interface NetworkConnection<
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- the ChainTypeT must be declared in the interface but in this scenario it's not used
ChainTypeT extends ChainType | string = DefaultChainType,
> {
ethers: HardhatEthers;
}
}