Y
Hacker News
new
|
ask
|
show
|
jobs
Avoid TypeScript `as` Assertions
(
gist.github.com
)
3 points
by
quicksnap
1404 days ago
1 comments
quicksnap
1404 days ago
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!
link
christopherbalz
1403 days ago
The article raises awareness of a pitfall that is easy to fall into, and that will only appear at runtime.
link
Hope it helps someone!