Ajay-Dhangar / CodeMastermindHQ

A tech hub for learning and collaborating on web development
https://cmhq.tech/
MIT License
8 stars 0 forks source link

(JS-0339) Found non-null assertions #489

Open Ajay-Dhangar opened 1 month ago

Ajay-Dhangar commented 1 month ago

Description

Using non-null assertions cancels out the benefits of strict null-checking, and introduces the possibility of runtime errors. Avoid non-null assertions unless absolutely necessary. If you still need to use one, write a skipcq comment to explain why it is safe.

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/Ajay-Dhangar/CodeMastermindHQ/issue/JS-0339/occurrences/