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 type inference bug with decorators #19839

Merged
merged 1 commit into from
Nov 16, 2022
Merged

Conversation

kasperpeulen
Copy link
Contributor

What I did

I stumbled on this, what I thought was an isssue with type-fest:
sindresorhus/type-fest#509 (comment)

But fixed now in a better way by adding the constraint & keyof TArgs thanks to @papb

Also improved the ActionArgs signature.

@kasperpeulen kasperpeulen marked this pull request as ready for review November 15, 2022 09:07
Base automatically changed from kasper/expose-more-types to next November 16, 2022 09:18
@kasperpeulen kasperpeulen merged commit 4cf0afe into next Nov 16, 2022
@kasperpeulen kasperpeulen deleted the kasper/fix-decorator branch November 16, 2022 16:42
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