-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Infer non-narrowing predicates when the contextual signature is a type predicate #60834
base: main
Are you sure you want to change the base?
Infer non-narrowing predicates when the contextual signature is a type predicate #60834
Conversation
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
709b33d
to
655602d
Compare
655602d
to
bb1dd39
Compare
bb1dd39
to
332ecc3
Compare
@typescript-bot test it |
@RyanCavanaugh Here are some more interesting changes from running the user tests suite Details
|
Hey @RyanCavanaugh, the results of running the DT tests are ready. There were interesting changes: Branch only errors:Package: lodash
|
@RyanCavanaugh Here they are:
tscComparison Report - baseline..pr
System info unknown
Hosts
Scenarios
Developer Information: |
@RyanCavanaugh Here are the results of running the top 400 repos with tsc comparing Something interesting changed - please have a look. Details
|
could I get a preview build for this one? it would make it easier to investigate some of the above changes, cc @jakebailey
|
@typescript-bot pack this |
Hey @jakebailey, I've packed this into an installable tgz. You can install it for testing by referencing it in your
and then running There is also a playground for this build and an npm module you can use via |
addresses the concerns raised in the comments in #60741