DEV Community

Discussion on: Typescript - Tips & Tricks - Non-null assertion operator

Collapse
 
puppo profile image
Luca Del Puppo • Edited

I agree with you. With great power comes great responsibility.
In my opinion, I prefer to use the Assert Function instead of the Non-null assertion operator.
But I talk about the Assert functions in a future post.