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

Fix typings for logger getters #620

Merged
merged 2 commits into from
Jan 8, 2020
Merged

Fix typings for logger getters #620

merged 2 commits into from
Jan 8, 2020

Conversation

Nevon
Copy link
Collaborator

@Nevon Nevon commented Jan 5, 2020

This changes the type of Logger, which is technically breaking, but then again it was never correct in the first place, so maybe that's fine...?

FYI @gimbalgambit

Fixes #613

@Nevon Nevon requested a review from tulios January 5, 2020 11:42
types/tests.ts Outdated Show resolved Hide resolved
@gimbalgambit
Copy link

Thanks, @Nevon! I think since the intent here is to fix a broken type assertion to be inline with the current spec, it's not a breaking change in a semver-bump sense... for whatever my opinion is worth. Appreciate the quick fix! 🙇‍♂️

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

Successfully merging this pull request may close these issues.

Consumer/Producer .logger() methods have incorrect return-value type annotations
4 participants