Resolve the remaining client type errors and the trip.title navbar bug

Drive the client typecheck to zero without any/ts-ignore: convert the tripId route param to a number once at the page boundary so it matches the numeric props and store actions it feeds, fix trip.name -> trip.title (the wire field is title, so the old read rendered blank in the files/offline views), and tighten the scattered handler-arity, DOM-cast and untyped-payload sites. No runtime behaviour change.
This commit is contained in:
Maurice
2026-05-31 18:29:23 +02:00
parent 80627f33fd
commit 404981505c
70 changed files with 241 additions and 210 deletions
@@ -535,7 +535,7 @@ describe('PlaceInspector', () => {
const members = [member1, member2];
const assignmentInDay = [{
id: 99, place, day_id: 1, place_id: place.id, order_index: 0, notes: null,
participants: [{ user_id: 10 }],
participants: [{ user_id: 10, username: 'alice' }],
}];
render(
<PlaceInspector