1 points | by alexharri 11 hours ago ago
1 comments
> narrowing a type through as is a common and useful operation
We banned all type assertions long time ago, and switched to type guards. I highly recommend this approach.
> narrowing a type through as is a common and useful operation
We banned all type assertions long time ago, and switched to type guards. I highly recommend this approach.