Skip to content

Commit 7c86a2c

Browse files
authored
docs(types): definitely typed credits (chimurai#600)
1 parent 75720d2 commit 7c86a2c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/types.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
16
/* eslint-disable @typescript-eslint/no-empty-interface */
27

3-
import * as express from 'express';
4-
import * as http from 'http';
5-
import * as httpProxy from 'http-proxy';
6-
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';
712

813
export interface Request extends express.Request {}
914
export interface Response extends express.Response {}

0 commit comments

Comments
 (0)