You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow specification of custom artifact glob in @typechain/hardhat #730
Currently the glob to match build artifacts for which to generate types is hardcoded here.
While the user can specify additional globs for "externalArtifacts" there is no way to disable type generation for selected contracts/artifacts.
One example where this is a problem is, if the user has multiple contracts with the same name which leads to Duplicate Identifier typescript errors.
Adding an optional config parameter to change the hardcoded glob (with the current pattern as the default) would fix this issue.
Activity
ckoopmann commentedon Jun 23, 2022
Fwiw: I'd be more than happy to implement this, if it's deemed a desirable feature. As far as I can see it should be done in just a few lines of code.
ckoopmann commentedon Jun 29, 2022
Went ahead and implemented this in #735