diff options
author | Pawel Zelawski <pawel.zelawski@outlook.com> | 2025-04-10 14:39:56 +0200 |
---|---|---|
committer | Pawel Zelawski <pawel.zelawski@outlook.com> | 2025-04-10 14:39:56 +0200 |
commit | d56c6a52f1dd1e539acd7a9cd45e2d32a2439ce8 (patch) | |
tree | 0aef7f0018e53ca66274d8ba355ed4cd45fbef76 /src/client | |
parent | d858bd4e0fc7aaba15509a17b35138e843667bc1 (diff) |
fix: resolve TypeScript errors in Express route handlers
- Add NextFunction type import from express
- Restructure route handlers to use proper Express middleware pattern
- Wrap async functions in IIFE for proper error handling
- Add proper error handling with next function
- Maintain existing functionality while satisfying TypeScript type system
This fixes TS2769 errors related to route handler type definitions
in /api/digiid/start and /api/digiid/callback endpoints.
Diffstat (limited to 'src/client')
0 files changed, 0 insertions, 0 deletions