types.ts 404 B

12345678910111213141516
  1. import { SignerWithAddress } from "@nomiclabs/hardhat-ethers/dist/src/signer-with-address";
  2. import { Fixture } from "ethereum-waffle";
  3. import { Greeter } from "../typechain/Greeter";
  4. declare module "mocha" {
  5. export interface Context {
  6. greeter: Greeter;
  7. loadFixture: <T>(fixture: Fixture<T>) => Promise<T>;
  8. signers: Signers;
  9. }
  10. }
  11. export interface Signers {
  12. admin: SignerWithAddress;
  13. }