- Community aggregator
- Country: United States
Your TypeScript Is Lying to You, and These 5 Places Hide Real Bugs
TypeScript's most dangerous keyword is two letters long. as does not convert anything. It does not check anything. It tells the compiler "trust me", and the compiler does. If you are wrong, the error moves from your editor to your users. Here are five places I keep finding it in real codebases…