Uh oh!
There was an error while loading. Please reload this page.
Fix formatting of conditional types - #21762
Conversation
Mohamed Hegazy (mhegazy)
commented
Feb 8, 2018
thanks! |
Mohamed Hegazy (mhegazy)
commented
Feb 8, 2018
Do you wana get the support for typeC<T>=TextendsArray< infer U>? U : T; |
Priyantha Lankapura (lankaapura)
commented
Feb 9, 2018
Mohamed Hegazy (@mhegazy)I've created a test and it seems this is not related to conditional type formatting. The reason is there are no How do I proceed? Do you want me to update this PR or are you going to create a new issue? Do you know where can I find more details about |
Mohamed Hegazy (mhegazy)
commented
Feb 9, 2018
that is correct. the new keyword was added with conditional types, and is only allowed within the extends clause of a conditional type.
that is correct
If you are interested you can just send a new PR for
Here is the PR that added it: #21496 |
Fixes#21716, pls review and let me know if there any changes required.