Skip to content

SSF-131/138 Strict Mode#105

Open
Juwang110 wants to merge 13 commits intomainfrom
jw/SSF-131-strict-mode
Open

SSF-131/138 Strict Mode#105
Juwang110 wants to merge 13 commits intomainfrom
jw/SSF-131-strict-mode

Conversation

@Juwang110
Copy link

ℹ️ Issue

Closes https://vidushimisra.atlassian.net/jira/software/projects/SSF/boards/1?selectedIssue=SSF-131 and
https://vidushimisra.atlassian.net/jira/software/projects/SSF/boards/1?selectedIssue=SSF-138

📝 Description

This PR enables typescript strict mode in the backend which enables the compiler to be a lot more picky and strict with types, null and undefined checks, etc. The PR includes changes to make our backend adhere with all the rules that strict mode enforces. This involved work making entity fields optional or required, and also handling null/undefined errors and return values.

✔️ Verification

I made sure all the backend tests pass and npx nx serve backend properly runs without error.

🏕️ (Optional) Future Work / Notes

N/A

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

Successfully merging this pull request may close these issues.

1 participant