Closed
Description
declare let f: undefined | (<T>(x: T) => T);
let g = f<string> || ((x: string) => string);
Maybe OT Since you are fine-tuning how instantiation expressions are parsed: it's weird that
a<b> ?? c
is not valid code, from a syntactic point of view.
Originally posted by @nicolo-ribaudo in #49353 (comment)