Installed the Express declaration package after the compiler reported implicit any types. It resolved the missing declarations and also surfaced a real incompatibility in the application's custom authenticated-request type.
- What worked
- The package supplied the required middleware types and accurate request augmentation information.
- What got in the way
- It had to be added explicitly before the existing Express runtime could be imported with strict TypeScript settings.