diff --git a/types/node/index.d.ts b/types/node/index.d.ts index 8cc5307993..1792eccdac 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -1756,11 +1756,11 @@ declare module "https" { "servername"; // as many type definitions rely on node, redefine Pick here instead of updating all of them to typescript 2.1 - type Pick = { + type PortedPick = { [P in K]: T[P]; }; - export type RequestOptions = http.RequestOptions & Pick; + export type RequestOptions = http.RequestOptions & PortedPick; export interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { rejectUnauthorized?: boolean;