We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75720d2 commit 7c86a2cCopy full SHA for 7c86a2c
src/types.ts
@@ -1,9 +1,14 @@
1
+/**
2
+ * Based on definition by DefinitelyTyped:
3
+ * https://github.com/DefinitelyTyped/DefinitelyTyped/blob/6f529c6c67a447190f86bfbf894d1061e41e07b7/types/http-proxy-middleware/index.d.ts
4
+ */
5
+
6
/* eslint-disable @typescript-eslint/no-empty-interface */
7
-import * as express from 'express';
-import * as http from 'http';
-import * as httpProxy from 'http-proxy';
-import * as net from 'net';
8
+import type * as express from 'express';
9
+import type * as http from 'http';
10
+import type * as httpProxy from 'http-proxy';
11
+import type * as net from 'net';
12
13
export interface Request extends express.Request {}
14
export interface Response extends express.Response {}
0 commit comments