@nomiclabs/hardhat-truffle4
Version:
Truffle 4 Hardhat compatibility plugin
17 lines • 572 B
TypeScript
import { assert, expect } from "chai";
import "hardhat/types/artifacts";
import "hardhat/types/runtime";
declare module "hardhat/types/artifacts" {
interface Artifacts {
require(name: string): any;
}
}
declare module "hardhat/types/runtime" {
type Describe = (description: string, definition: (accounts: string[]) => any) => void;
interface HardhatRuntimeEnvironment {
assert: typeof assert;
expect: typeof expect;
contract: Describe & Record<"only" | "skip", Describe>;
}
}
//# sourceMappingURL=type-extensions.d.ts.map