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 a type parameter for Handler in on/add_listener/listens_to #107

Merged
merged 1 commit into from Jan 18, 2022

Conversation

jfhbrook
Copy link
Owner

I realized late last night that there's actually a pretty serious bug in the types right now. I think the diff says it all - this makes it so that the decorated function retains the type of the wrapped function.

@jfhbrook jfhbrook merged commit d009957 into main Jan 18, 2022
@jfhbrook jfhbrook deleted the type-parameterize-handler branch January 18, 2022 15:11
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.

None yet

1 participant