News for hackers. Stuff that matters.
Re:TypeScript 3.7 by cloverich on Tuesday November 05, 2019 @08:47PM (#21458952)
Its unnecessary until the clause above it changes and the assumption no longer holds. That's how I fight my urge to go with the cast.
Re:TypeScript 3.7 by 52-6F-62 on Tuesday November 05, 2019 @08:55PM (#21458987)
That’s totally fair. Admittedly in my situation I have high degree of control over the input so my constraints are probably a little looser.

At any rate, I’d appreciate the same thing you would in these cases.