-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: make contract and hook types work without a generated output #255
Conversation
…d it to avoid any confusion
Found another confusing thing: the So I removed the separate script for it and just added it to the deploy script instead. |
Yep, nice one. Make sense! This looks great. Merging it. Thank you @sverps |
Fixes #254
A dev that doesn't need any custom contract can simply remove the
hardhat_contracts.ts
import in the scaffold.config, and setcontracts: null
.Typescript won't complain due to types resolving differently when
contracts
is set tonull
in the config.