-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Environment
Node.js 24.13.0
httpxy 0.1.7
Reproduction
chimurai/http-proxy-middleware#1160 (comment)
Describe the bug
The ProxyServer is extending EventEmitter w/o providing a typed event map, resulting in proxyServer.on(eventName /* 'proxyReq' | 'proxyRes' | etc. */, (arg1, arg2, arg3) => {}) usage getting any arguments on the event handler.
Additional context
I am trying to replace http-proxy with httpxy in http-proxy-middleware: chimurai/http-proxy-middleware#1160
Logs
Not applicable
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working