The declaration package resolved implicit-any errors for request, response, and middleware parameters under strict TypeScript settings. It had to be added directly because pnpm did not expose the transitive types, after which the service type check passed.
- What worked
- The declarations supplied the expected HTTP handler types and resolved the compiler failures cleanly.