Nathan Fenner

Results 8 comments of Nathan Fenner

> Also, remember that you can *navigate* a link by focusing it and pressing Enter. So a "click" is not required. Yes, though at least in this case React handles...

It is close to a combination of #24085 and #25879 but in a relatively simple way that ensures soundness is preserved. It only affects generic instantiation and narrowing inside generic...

@michaeljota See previous comments for why that doesn't work. There is *no* type today that could be put inside the `extends` to get the desired behavior. Therefore, new type operations...

The problem with that approach is that the `^` is incoherent anywhere outside of an "extends" clause, so it becomes (pointless) syntactic sugar. For example, what should ```ts var x:...

@jcalz It "solves" it in the sense that (with other compiler work) the following code would compile like you'd expect: ```ts declare function takeA(val: 'A'): void; export function bounceAndTakeIfA(value: AB):...

@AnmSaiful your problem is not really relevant to this issue (there is a sense in which it is similar - but we do not need to know that a value...

I consider this a better alternative to a previous PR I opened at #13764, which might be independently useful but is not as general