Re:TypeScript 3.7
by jkoudys on Wednesday November 06, 2019 @06:01AM
(#21461388)
Iffys are a nice go-to in ts in general, because type inference is so handy and I'd rather not have a big pile of typed `let`s at the top that I have to assign into later. Even something as simple as a switch plays nicer if you iffy it and use it like an expression (similar to a match is rust)
[ Parent
| on HN ]
There are no comments on this comment yet.