Skip to content

Commit 647ff41

Browse files
fix(types): allow proxyFactory to return null or undefined
1 parent ce35aac commit 647ff41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ declare namespace fastgateway {
7070

7171
interface Options<P extends restana.Protocol> {
7272
server?: Object | restana.Service<P> | Express.Application
73-
proxyFactory?: (opts: ProxyFactoryOpts) => Function
73+
proxyFactory?: (opts: ProxyFactoryOpts) => Function|null|undefined
7474
restana?: {}
7575
middlewares?: Function[]
7676
pathRegex?: string

0 commit comments

Comments
 (0)