andywer / typed-emitter

🔩 Type-safe event emitter interface for TypeScript
MIT License
268 stars 24 forks source link

chore: export Arguments #11

Closed Alon-L closed 4 years ago

Alon-L commented 4 years ago

I find the Arguments type useful for dynamic event calls that require the arguments to be passed onto the listener. I believe they should be exported as they serve as a core and useful type in the library.

andywer commented 4 years ago

Thanks for contributing, guys!

andywer commented 4 years ago

Do you need the change released quickly?

Alon-L commented 4 years ago

Yes I do. Thank you for approving this PR!

erfanium commented 4 years ago

@Alon-L You can install node packages directly from github with npm: https://medium.com/@jonchurch/use-github-branch-as-dependency-in-package-json-5eb609c81f1a

This is so useful to me, I no longer have to wait for the changes to be released

andywer commented 4 years ago

Glad you found a quick fix. Released now as v1.3.0, too 😉