Skip to content

Commit

Permalink
hardhat: include typechain in sample tsconfig.json
Browse files Browse the repository at this point in the history
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
  • Loading branch information
varanauskas authored Sep 3, 2021
1 parent 0c2b42c commit 9021f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hardhat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
```
Expand Down

0 comments on commit 9021f78

Please sign in to comment.