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
* Add generic types and update tests
* Add generic types to `on`, `off` and `emit` to enable some nicer TS
usage if you specify what type you're expecting from the `EventData`.
* Move the tests to be TypeScript source. This will help catch errors in
the tests if there are any type errors.
* Create a new test to test the generic types and make sure they pass
and error when expected.
* Upgrade to Mocha 8.
* Did some tidying up of the package.json scripts.
* Tweak TS setup to validate tests
* Fix d.ts generation and tests
Co-authored-by: Jason Miller <[email protected]>
0 commit comments