#523 - TypeScript hardening for runtime-critical path
@brijesh-amin is already working on this.
Since Jul 17, 2026.
Assessment
This issue has not been assessed yet.
Description
Parent: #523
Objective
Increase type safety where failures are most costly by removing @ts-nocheck and tightening types in bootstrap/router/auth entry paths.
In scope
- Prioritize:
src/index.ts,src/router/index.ts,src/libs/authmware.ts(and directly related helpers) - Remove
@ts-nocheckin targeted files - Add/adjust types for request context, auth payloads, and shared utilities
Acceptance criteria
- Target files compile without
@ts-nocheck - No behavior regressions in auth + route bootstrap
- Unit/integration tests pass for touched paths
- New/changed code avoids broad
anywhere practical
Notes
Work in small PRs to keep review manageable.
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bcgov/range-api
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Similar issues
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chrisparsons83/flexspotff#153 ·