Skip to content

Commit

Permalink
fix(typings): fix typings mismatching
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Jun 4, 2021
1 parent c6ed3e1 commit 0fa1630
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions nanoexpress.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,6 @@ declare namespace nanoexpress {
body?: false | SchemaValue;
response?: false | SchemaValue;
}
export interface IWebSocketOptions {
compression?: number;
maxPayloadLength?: number;
idleTimeout?: number;
schema?: ISchema;
}
interface IRouteOption {
schema?: ISchema;
isRaw?: boolean;
Expand Down Expand Up @@ -331,12 +325,6 @@ declare namespace nanoexpress {
...middlewares: MiddlewareRoute[]
): INanoexpressApp;

ws(
path: string,
handler: MiddlewareRoute | Promise<MiddlewareRoute>,
options?: IWebSocketOptions
): INanoexpressApp;
ws(path: string, options: IWebSocketOptions): INanoexpressApp;
ws(path: string, options: WebSocketBehavior): INanoexpressApp;

publish(
Expand Down

0 comments on commit 0fa1630

Please sign in to comment.