Why am I getting this error? (Typescript + Express)

I am getting this error:

No overload matches this call.   The last overload gave the following error.     Argument of type '(req: Request, res: Response) => void' is not assignable to parameter of type 'Application<Record<string, any>>'.

for my 3 auth routes. This is my routes file:

import router, { Router, Request, Response } from "express";

import * as authController from "./controllers/AuthController";
import authenticate, { AuthenticatedRequest } from "./middleware/authenticate";

const appRouter: Router = router();

appRouter.post("/auth/login", authController.login);
appRouter.post("/auth/register", authController.register);
appRouter.post("/auth/refresh-token", authController.refreshToken);
appRouter.get("/protected", authenticate, (req: Request, res: Response) => {
    let user = (req as AuthenticatedRequest).user;
    return res.json(user);
});
export default appRouter;

And here is my route function (To big so I had to cut it, only logic inside):

const login = asyncHandler(async (req: Request, res: Response) => { ... });
const register = asyncHandler(async (req: Request, res: Response) => { ... });
const refreshToken = asyncHandler(async (req: Request, res: Response) => { ... });

I tried checking the request and response interfaces that my routes used but everything seems ok.