install the express and @types/express with same version
Example
"@types/express": "^4.17.21", "express": "^4.21.2",