-
Notifications
You must be signed in to change notification settings - Fork 77
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
build: Apply strict null checks #14499
Conversation
📝 WalkthroughWalkthroughThe changes add a new step to the GitHub Actions workflow for frontend tests that executes a strict null check command. Additionally, a new TypeScript configuration file is introduced to enable strict null checking and include an extra library directory. A corresponding script is added to the package configuration to run the TypeScript compiler with the newly provided configuration. These updates integrate stricter type safety into the build and test process without altering existing functionality. Changes
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
2a5bfa5
to
f706d8b
Compare
f706d8b
to
30ba2b7
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14499 +/- ##
=======================================
Coverage 95.93% 95.93%
=======================================
Files 1991 1991
Lines 25832 25832
Branches 2917 2917
=======================================
Hits 24781 24781
Misses 788 788
Partials 263 263 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
Description
Created a Typescript configuration file for strict null checks and added it to the relevant Github workflow. We can use this to do strict null checks in individual folders until we have covered the whole project and can set
strictNullChecks
totrue
in the maintsconfig
file.Related Issue
Verification
Summary by CodeRabbit
This release improves our development quality assurance and code reliability with enhanced type checks that help catch potential issues early.
Tests
Chores