@nomicfoundation/hardhat-ethers
Version:
Hardhat plugin for ethers
12 lines • 551 B
TypeScript
import type { ethers } from "ethers";
import type { FactoryOptions as FactoryOptionsT, getContractFactory as getContractFactoryT, HardhatEthersHelpers, Libraries as LibrariesT } from "../types";
import "hardhat/types/runtime";
declare module "hardhat/types/runtime" {
interface HardhatRuntimeEnvironment {
ethers: typeof ethers & HardhatEthersHelpers;
}
type Libraries = LibrariesT;
type FactoryOptions = FactoryOptionsT;
type getContractFactory = typeof getContractFactoryT;
}
//# sourceMappingURL=type-extensions.d.ts.map