Skip to content

Commit 1521e12

Browse files
committed
upgrade https-proxy-agent.d.ts
1 parent 196281c commit 1521e12

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/typings/https-proxy-agent.d.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
// See https://stackoverflow.com/questions/41462729/typescript-react-could-not-find-a-declaration-file-for-module-react-material/41631658#41631658
2-
declare module "https-proxy-agent";
1+
// See https://stackoverflow.com/questions/44058101/typescript-declare-third-party-modules#44060120
2+
declare module "https-proxy-agent"
3+
{
4+
import { Agent } from "http";
5+
6+
class HttpsProxyAgent extends Agent
7+
{
8+
constructor(proxy: string);
9+
}
10+
11+
namespace HttpsProxyAgent { }
12+
13+
export = HttpsProxyAgent;
14+
}

0 commit comments

Comments
 (0)