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

Add default generic arg value to Listener type #1825

Merged
merged 1 commit into from
Mar 2, 2020
Merged

Conversation

bajtos
Copy link
Member

@bajtos bajtos commented Mar 2, 2020

The changes introduced by dcfda58 (#1820) may break existing consumers of our typings. This commit fixes this problem by adding a default value to the recently introduced generic argument of Listener type.

Checklist

👉 Read and sign the CLA (Contributor License Agreement) 👈

  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • Commit messages are following our guidelines

The changes introduced by dcfda58 may break existing consumers
of our typings. This commit fixes this problem by adding a default
value to the recently introduced generic argument of `Listener` type.

Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
@bajtos bajtos requested a review from hacksparrow March 2, 2020 10:26
@bajtos bajtos self-assigned this Mar 2, 2020
@bajtos bajtos added this to the Feb 2020 milestone Mar 2, 2020
@bajtos bajtos added the bug label Mar 2, 2020
@bajtos bajtos merged commit 65a3586 into master Mar 2, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix/listener-type branch March 2, 2020 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants