Skip to content

Commit

Permalink
ref: Remove default http(s) import from http-module (#3681)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek authored Jun 15, 2021
1 parent ab9efb2 commit 3b42340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/node/src/transports/base/http-module.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 3b42340

Please sign in to comment.