Counterintuitively, the first two seem to work fine (not getting yelled at by typechecker), but the third, which I think to be entirely valid TypeScript, gives me a
No overload matches this call. Overload 1 of 2,...
No overload matches this call. Overload 1 of 2,...
Any idea on this? Is it something to do with the uncertain shape of the incoming parameter that it can't handle or something