Conversation
|
Well.. with the removed overload there is no contextual type for the initial value parameter... @rbuckton, @DanielRosenwasser and @weswigham thoughts? |
|
The contextual type would be incorrect anyway in the case that Edit: Shouldn't inference be able to pick up |
|
I did come up with a test case that's broken by this, see the bottom of |
|
@mhegazy @sandersn @rbuckton @DanielRosenwasser @weswigham Could you review? |
1 similar comment
|
@mhegazy @sandersn @rbuckton @DanielRosenwasser @weswigham Could you review? |
|
I am still concerned about the valid patterns that will be errors with this change. |
|
@Andy-MS let's get this up to date and then see what the RWC run turns up |
|
@typescript-bot test this |
|
Heya @RyanCavanaugh, I've started to run the extended test suite on this PR at ab17070. You can monitor the build here. It should now contribute to this PR's status checks. |
|
Nontrivial RWC breaks occurred |
|
The TypeScript team hasn't accepted the linked issue #25454. If you can get it accepted, this PR will have a better chance of being reviewed. |
Fixes #25454