-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove typecasts and non-null assertions (#1596)
* ref: remove type casts where possible * ref: remove unused middleware and dependencies * ref: improve typing of JWT payload * ref: remove non-null assertions * ref: rename express.locals.ts * ref: remove final non-null assertion * chore: enforce no non-null assertion lint rule * chore: titlecase Singpass and Corppass * ref: use switch in extractJwtPayloadFromRequest * ref: use switch in submissions controllers
- Loading branch information
1 parent
685277b
commit 437e16e
Showing
22 changed files
with
293 additions
and
578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
218 changes: 0 additions & 218 deletions
218
src/app/modules/form/public-form/__tests__/public-form.middlewares.spec.ts
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
src/app/modules/form/public-form/public-form.middlewares.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.