I was getting this error as well, and realized I’d just forgotten to import Response. Adding an import line solved the problem for me.
import express, {Request, Response} from 'express';
I was getting this error as well, and realized I’d just forgotten to import Response. Adding an import line solved the problem for me.
import express, {Request, Response} from 'express';