diff --git a/.changeset/hungry-suits-check.md b/.changeset/hungry-suits-check.md index b2e6ff28..28a63ec2 100644 --- a/.changeset/hungry-suits-check.md +++ b/.changeset/hungry-suits-check.md @@ -2,4 +2,4 @@ '@typechain/hardhat': minor --- -allow node6Modules for @typechain/hardhat +Allow passing node16Modules flag to TypeChain diff --git a/packages/hardhat/src/types.ts b/packages/hardhat/src/types.ts index f16f4719..3dda01f5 100644 --- a/packages/hardhat/src/types.ts +++ b/packages/hardhat/src/types.ts @@ -6,6 +6,7 @@ export interface TypechainConfig { tsNocheck: boolean externalArtifacts?: string[] dontOverrideCompile: boolean + node16Modules: boolean // defaults to false } export interface TypechainUserConfig extends Partial {}