Why is this type not getting picked up?
...I know I know, code screen shot but I need the highlighting
It seems like T is not being picked in B where it is being picked up in A
The only difference between the two toy functions is with one I am explicitly stating that i_am_a_number is a number (despite intelisense saying it is in fact a number

2 Replies
fair-roseOP•3y ago
Also I know this is a weird pattern. Don't worry about it. It's already part of the code base
conscious-sapphire•3y ago
A typescript playground would be perfect to take a closer look