Hacker News new | ask | show | jobs
Avoid TypeScript `as` Assertions (gist.github.com)
3 points by quicksnap 1404 days ago
1 comments

Author here. I am sure there are many articles about this already. I just wrote this nugget to be as quick and to the point on the issue, since it's a peeve of mine.

Hope it helps someone!

The article raises awareness of a pitfall that is easy to fall into, and that will only appear at runtime.