fix: resolve all TypeScript errors via proper Express 5 typed route params

- Add StringParams = Record<string, string> to types.ts
- Use Request<StringParams> in all route handlers across 14 files
- Clean up earlier as-cast workarounds in places.ts and admin.ts
- tsconfig.json: keep original (removed bad 'types:node' addition)
- package.json: restore @types/express back to ^5.0.6
This commit is contained in:
Stephen Wheet
2026-03-28 20:13:24 +00:00
parent fcbfeb6793
commit d50c84b755
19 changed files with 144 additions and 159 deletions

View File

@@ -9,7 +9,6 @@
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"types": ["node"],
"resolveJsonModule": true,
"declaration": false,
"sourceMap": true,