Does netlify support Next.js Route Handlers?

I got the deploy failure with the error: Type error: Route src/app/api/auth/[…nextauth]/route.ts does not match the required types of a Next.js Route.

Does that mean Netlify can’t handle nextauth api routers with routes handlers?
If you have a solution to deploy correctly, that would be helpful.

That sounds like a TypeScript error and not a Netlify issue. Please check your code.