Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Increase usefulness of typescript by making it stricter #2520

Open
Simon-Laux opened this issue May 10, 2024 · 0 comments
Open

Comments

@Simon-Laux
Copy link

Basically enable these two compiler options in tsconfig.json:

"noImplicitAny": true,
"strictNullChecks": true,

The first one nudges you to provide more typing information and the second one makes null and undefined cases that you need to care for while coding.
The strictNullChecks option already prevented many bugs in my coding "career".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant