#Variable doesn't had properties although it does
5 messages · Page 1 of 1 (latest)
what if you use undefined instead of void?
Learn about how Functions work in TypeScript.
nothing really changed, it sends the same error for some reason 🤔
I didn’t get the issue here. If you have a type guard or just a if(foo) then foo will be inferred as only bar