From 9021f780ce50c00fbef09c82321939e0b1fb7483 Mon Sep 17 00:00:00 2001 From: Tadas Varanauskas Date: Fri, 3 Sep 2021 17:25:06 +0300 Subject: [PATCH] hardhat: include typechain in sample tsconfig.json The sample tsconfig.json was missing the hardhat folder, possibly making it confusing for people expecting: - **Frictionless** - return type of `ethers.getContractFactory` will be typed properly - no need for casts Fixes #460 --- packages/hardhat/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hardhat/README.md b/packages/hardhat/README.md index 01d401ebd..8203ee55e 100644 --- a/packages/hardhat/README.md +++ b/packages/hardhat/README.md @@ -57,7 +57,7 @@ Here's a sample `tsconfig.json`: "outDir": "dist", "resolveJsonModule": true }, - "include": ["./scripts", "./test"], + "include": ["./scripts", "./test", "./typechain"], "files": ["./hardhat.config.ts"] } ```