T
TanStack3y ago
fair-rose

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
No description
2 Replies
fair-rose
fair-roseOP3y ago
Also I know this is a weird pattern. Don't worry about it. It's already part of the code base
conscious-sapphire
conscious-sapphire3y ago
A typescript playground would be perfect to take a closer look

Did you find this page helpful?