Skip to content

Fix TypeScript errors: ensure tripId is never undefined - #15

Merged
chtitux merged 1 commit into
mainfrom
claude/create-gtfs-sqljs-module-011CUpNnKLtuvzDDzXYZFyRm
Nov 5, 2025
Merged

chtitux merged 1 commit into
mainfrom
claude/create-gtfs-sqljs-module-011CUpNnKLtuvzDDzXYZFyRm

Conversation

@chtitux

@chtitux chtitux commented Nov 5, 2025

Copy link
Copy Markdown
Contributor
  • Add non-null assertion (!) for tripId after null check
  • Fixes CI build errors where string | undefined was passed to SqlValue
  • All three occurrences fixed in insertVehiclePositions and insertTripUpdates
  • All tests passing (77/77)
  • Lint checks passing

- Add non-null assertion (!) for tripId after null check
- Fixes CI build errors where string | undefined was passed to SqlValue
- All three occurrences fixed in insertVehiclePositions and insertTripUpdates
- All tests passing (77/77)
- Lint checks passing
@chtitux
chtitux merged commit a78c956 into main Nov 5, 2025
3 checks passed
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.

2 participants