-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Introduce inferrable TConfig
#4262
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit c4cad26:
|
Unfortunately, it deoptimizes when typed invokes are involved. I prepared a minimal repro case here: TS playground |
Ok, so I couldn't resist and I peeked under the hood to see what is being inferred in the first pass internally. It seems that we run into the same problem as we were running before. The problem was just more apparent before because we ended up with a visible error. Now the problem is still there but it gets somewhat swallowed. The And this is actually fixable using the trick that I applied in one of those previous PRs: TS playground. (but I still think this is a post-release item) |
Superseded by #4498 |
No description provided.