It has different type definitions for some methods used in express and TypeScript build fails because of it. The solution is to use @types/express-serve-static-core instead.