Re:If It Ain't TypeScript It Ain't Sexy
by shados on Monday February 11, 2019 @03:23PM
(#19137917)
Different topic than unit tests, but also if its in the public interface of your code and you don't control all callers, you might need those assertions anyway (since they could be invoked from non-TS code, or they could have been cast to a any type, especially in non-strict mode TS)
[ Parent
| on HN ]
There are no comments on this comment yet.