After using TypeScript there's some features that I'm terrified of that seem counter intuitive. All the following examples produce NO errors and are with every single strict TS option enabled.
-
Show this thread
-
Type predicates are just an annotation and aren't actually checked. Meaning you can do some pretty wacky and unsafe things. Is there an technical constraint preventing TS from checking these?pic.twitter.com/qtIIzM1Cat
9 replies 1 retweet 17 likesShow this thread -
Replying to @sebmck
Probably has trouble parsing those ligatures, like the rest of us ;)
1 reply 0 retweets 0 likes
Replying to @kuvos
If only it was that easy to fix ;)
11:37 PM - 22 Jun 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 