Skip to content

Commit 3b42340

Browse files
authored
ref: Remove default http(s) import from http-module (getsentry#3681)
1 parent ab9efb2 commit 3b42340

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/node/src/transports/base/http-module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import http, { IncomingHttpHeaders } from 'http';
2-
import https from 'https';
1+
import { IncomingHttpHeaders, RequestOptions as HTTPRequestOptions } from 'http';
2+
import { RequestOptions as HTTPSRequestOptions } from 'https';
33
import { URL } from 'url';
44

5-
export type HTTPModuleRequestOptions = http.RequestOptions | https.RequestOptions | string | URL;
5+
export type HTTPModuleRequestOptions = HTTPRequestOptions | HTTPSRequestOptions | string | URL;
66

77
/**
88
* Cut version of http.IncomingMessage.

0 commit comments

Comments
 (0)