Live data from Hacker News

Avoid TypeScript `as` Assertions

gist.github.com

1–3 of 3 posts

Re: Avoid TypeScript `as` Assertions

#3

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.