```js
var httpProxy = require('http-proxy');
var proxy = httpProxy.createProxyServer({});
proxy.web
```
The type of `proxy` shows as "unknown type", and no members of it show up at all.
It seems that this is due to us improperly handling trailing slash in `require`. Here's what http-proxy.js looks like:
```js
httpProxy = require('./http-proxy/');
...
return new httpProxy.Server(options);
```
Now when I hover over `httpProxy` in that file, it says that it's exports for http-proxy.js - but that's not right, it should be exports for http-proxy/index.js.
var httpProxy = require('http-proxy');
var proxy = httpProxy.createProxyServer({});
proxy.web
```
The type of `proxy` shows as "unknown type", and no members of it show up at all.
It seems that this is due to us improperly handling trailing slash in `require`. Here's what http-proxy.js looks like:
```js
httpProxy = require('./http-proxy/');
...
return new httpProxy.Server(options);
```
Now when I hover over `httpProxy` in that file, it says that it's exports for http-proxy.js - but that's not right, it should be exports for http-proxy/index.js.