http-proxy-middleware
http-proxy-middleware copied to clipboard
yarn upgrade @types/http-proxy
trafficstars
Description
Recently I noticed that the method option was missing from the http-proxy serverOptions type. I've submitted a patch for the type https://github.com/DefinitelyTyped/DefinitelyTyped/pull/70173, this PR simply bumps the dependency version for the type so we can use it with this module.
How has this been tested?
The functionality already worked as options are just passed through to http-proxy. It just caused a typescript error. We no longer get typescript errors.
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.