Closed shakeelghauri-dev closed 1 year ago
Workaround: Add this to your tsconfig:
"allowSyntheticDefaultImports": true
This code in this repository has been moved to the proxy-agents
monorepo, so I am closing this pull request. If you feel that this issue still exists as of the latest release, feel free to open a new issue over there.
I upgraded the package to the latest version and start getting the below errors at compile time from its dependency "agent-base"
_../../node_modules/proxy-agent/nodemodules/agent-base/dist/src/index.d.ts(2,8): error TS1192: Module '"net"' has no default export. _../../node_modules/proxy-agent/node_modules/agent-base/dist/src/index.d.ts(3,8): error TS1192: Module '"http"' has no default export. ../../node_modules/proxy-agent/nodemodules/agent-base/dist/src/index.d.ts(4,8): error TS1192: Module '"https"' has no default export.