UNPKG

@openzeppelin/hardhat-upgrades

Version:

[![Docs](https://img.shields.io/badge/docs-%F0%9F%93%84-blue)](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [![NPM Package](https://img.shields.io/npm/v/@openzeppelin/hardhat-upgrades.svg)](https://www.npmjs.org/package/@openzeppelin/h

16 lines • 725 B
import 'hardhat/types/hre'; import type { HardhatUpgrades, DefenderHardhatUpgrades } from './types.js'; import type { ContractFactory } from 'ethers'; export type * from '@nomicfoundation/hardhat-ethers'; export type { HardhatDefenderConfig, NamespacedCompileErrorsRule } from './type-extensions-config.js'; export type ContractTypeOfFactory<F extends ContractFactory> = ReturnType<F['attach']> & ReturnType<F['deploy']>; declare module 'hardhat/types/hre' { interface HardhatRuntimeEnvironment { upgrades: HardhatUpgrades; defender: DefenderHardhatUpgrades; _upgrades?: HardhatUpgrades; _defender?: DefenderHardhatUpgrades; } } export {}; //# sourceMappingURL=type-extensions.d.ts.map