2 ms·
If that's a thing commonly needed for basic operations like letting your event handler actually access the event details, then very much yes. Sane languages ha
by yencabulator 2y ago
If that's a thing commonly needed for basic operations like letting your event handler actually access the event details, then very much yes.
Sane languages have a downcast mechanism that doesn't pretend it succeeds every time.
- Timon3 2y agoWeird, I don't need to do that. Also weird that Typescript has exactly the mechanism you're talking about. Why are you acting like it doesn't?