Skip to content

Commit

Permalink
fix: ts
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Jun 6, 2021
1 parent eefcfad commit a2f31f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ws/src/interface.ts
Expand Up @@ -9,7 +9,9 @@ export type IMidwayWSConfigurationOptions = {
subClient?: any;
} & Partial<WebSocket.ServerOptions> & IConfigurationOptions;

export type IMidwayWSContext = IMidwayContext<WebSocket>;
export type IMidwayWSContext = IMidwayContext<WebSocket & {
app: IMidwayWSApplication;
}>;

export type Application = IMidwayWSApplication;

Expand Down

0 comments on commit a2f31f5

Please sign in to comment.