T
TanStack•3y ago
like-gold

My types are not narrowing down correctly

Any ideas why?
No description
2 Replies
quickest-silver
quickest-silver•3y ago
put it in a typescript playground 🙂 if you're using v4, it should work. in v3, it doesn't
like-gold
like-goldOP•3y ago
hmm can I install RQ in typescript playground? Also I'm on v5 I found it out, it seems like I needed to have a return clause for error as well?

Did you find this page helpful?