Skip to content

Commit 4bac3f5

Browse files
authored
Merge pull request #1 from plchampigny/plchampigny-patch-1
Plchampigny patch 1
2 parents 3602594 + 4f26936 commit 4bac3f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as express from 'express';
22
import * as http from 'http';
33

4-
declare function ExpressHttpProxy(host: string, options: ExpressHttpProxy.IOptions): express.RequestHandler;
4+
declare function ExpressHttpProxy(host: string, options?: ExpressHttpProxy.IOptions): express.RequestHandler;
55
declare namespace ExpressHttpProxy {
66
interface IOptions {
77
port?: number;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.1.0",
2+
"version": "0.2.0",
33
"private": true,
44
"name": "@types/express-http-proxy",
55
"scripts": {

0 commit comments

Comments
 (0)