With "@types/express-serve-static-core": "4.17.13", augmenting express-serve-static-core is working fine:
"@types/express-serve-static-core": "4.17.13"
express-serve-static-core
import