We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab9efb2 commit 3b42340Copy full SHA for 3b42340
packages/node/src/transports/base/http-module.ts
@@ -1,8 +1,8 @@
1
-import http, { IncomingHttpHeaders } from 'http';
2
-import https from 'https';
+import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http';
+import { RequestOptions as HTTPSRequestOptions } from 'https';
3
import { URL } from 'url';
4
5
-export type HTTPModuleRequestOptions = http.RequestOptions | https.RequestOptions | string | URL;
+export type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL;
6
7
/**
8
* Cut version of http.IncomingMessage.
0 commit comments