Environment
Package manager: pnpm v10.24.0
Node.js version: v24.11.1
Reproduction
https://github.com/alpheusmtx/srvx-express-type-error
Describe the bug
When putting the express app variable into toFetchHandler, even it is working in JS, but type error show up.
const ex = express();
const fetchHandler = toFetchHandler(ex);
Additional context
No response
Logs