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.
2 parents 3602594 + 4f26936 commit 4bac3f5Copy full SHA for 4bac3f5
index.d.ts
@@ -1,7 +1,7 @@
1
import * as express from 'express';
2
import * as http from 'http';
3
4
-declare function ExpressHttpProxy(host: string, options: ExpressHttpProxy.IOptions): express.RequestHandler;
+declare function ExpressHttpProxy(host: string, options?: ExpressHttpProxy.IOptions): express.RequestHandler;
5
declare namespace ExpressHttpProxy {
6
interface IOptions {
7
port?: number;
package.json
@@ -1,5 +1,5 @@
{
- "version": "0.1.0",
+ "version": "0.2.0",
"private": true,
"name": "@types/express-http-proxy",
"scripts": {
0 commit comments