Skip to content
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

Export AllEvents type for Truffle target #765

Open
wbt opened this issue Sep 7, 2022 · 1 comment
Open

Export AllEvents type for Truffle target #765

wbt opened this issue Sep 7, 2022 · 1 comment

Comments

@wbt
Copy link
Contributor

wbt commented Sep 7, 2022

With the Truffle target, a type 'AllEvents' is defined but there doesn't seem to be a way to access it externally, though there does seem to be a way to access the set of events for a web3 target (see #249). Adding the 'export' keyword before 'type AllEvents' seems like the simplest way to solve this.

wbt added a commit to wbt/TypeChain that referenced this issue Sep 7, 2022
@wbt
Copy link
Contributor Author

wbt commented Oct 19, 2022

An exported map of the event names to the types would likely be better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant