Skip to content

Commit d15a0a6

Browse files
Rolando Santamaria MasoRolando Santamaria Maso
authored andcommitted
updating TS definition for server parameter
1 parent 3469196 commit d15a0a6

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
@@ -47,7 +47,7 @@ declare namespace fastgateway {
4747
}
4848

4949
interface Options<P extends restana.Protocol> {
50-
server?: restana.Server<P>;
50+
server?: Object | restana.Service<P> | Express.Application;
5151
restana?: {};
5252
middlewares?: Function[];
5353
pathRegex?: string;

0 commit comments

Comments
 (0)