dethcrypto / TypeChain

🔌 TypeScript bindings for Ethereum smart contracts
MIT License
2.76k stars 365 forks source link

barrel file moduleSuffix for type exports #869

Open leovigna opened 1 year ago

leovigna commented 1 year ago

When working with tsx I get issues with ESM interoperability due to the types not using explicity import paths. This PR fixes this and makes exports more consistent such that both types & implementations are exported with explicit moduleSuffix if specified.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 49fb575f1268fa9d68ad41ae4b62ca53ff0a0a43

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

leovigna commented 1 year ago

Should I add a changeset. Please let me know if this PR is welcome.