diff --git a/packages/node/src/transports/base/http-module.ts b/packages/node/src/transports/base/http-module.ts index e6921a4cb82e..0189d4971e4b 100644 --- a/packages/node/src/transports/base/http-module.ts +++ b/packages/node/src/transports/base/http-module.ts @@ -1,8 +1,8 @@ -import http, { IncomingHttpHeaders } from 'http'; -import https from 'https'; +import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http'; +import { RequestOptions as HTTPSRequestOptions } from 'https'; import { URL } from 'url'; -export type HTTPModuleRequestOptions = http.RequestOptions | https.RequestOptions | string | URL; +export type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL; /** * Cut version of http.IncomingMessage.