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(TS): fix type inference for publish variants #4816

Closed
wants to merge 1 commit into from

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented May 29, 2019

  • We can never get out of via TypeScript any how.
  • Resolves a larger issue where operators with a single, static argument and a single generic inferred too strongly from the argument and lost the additional type information from the source.

Copy link
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@cartant
Copy link
Collaborator

cartant commented May 29, 2019

I would really like to revisit the changes you proposed in #3833. If not for v7 then for v8.

@benlesh
Copy link
Member Author

benlesh commented Jun 6, 2019

I'm rebasing this. For some reason there's a build failure in CI that I haven't been able to reproduce locally

- We can never get  out of  via TypeScript any how.
- Resolves a larger issue where operators with a single, static argument and a single  generic inferred too strongly from the argument and lost the additional type information from the source.
@benlesh
Copy link
Member Author

benlesh commented May 17, 2020

This has already been handled.

@benlesh benlesh closed this May 17, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants