2 ms·
Type guarding is definitely a pain point moving from JS to TS
by mock-possum 3y ago
Type guarding is definitely a pain point moving from JS to TS
- baerrie 3y agoFor sure. I think most devs are afraid to add more conditionality but even JS warrants a ton of undefined checks, etc because of the language’s generic nature