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

7 lines • 358 B
/** * Returns true if `id` can be resolved (and optionally loaded) from this package. * With `resolveOnly`, only the module path is resolved — the module body is not executed. * Mirrors the HH2 plugin's helper of the same name. */ export declare function tryRequire(id: string, resolveOnly?: boolean): boolean; //# sourceMappingURL=try-require.d.ts.map