Skip to content

Commit

Permalink
refactor(common): 鈾伙笍 made search method optional
Browse files Browse the repository at this point in the history
  • Loading branch information
doronguttman committed Jan 26, 2024
1 parent fed1000 commit fc29bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/interfaces/http/http-server.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export interface HttpServer<
all(handler: RequestHandler<TRequest, TResponse>): any;
options(handler: RequestHandler<TRequest, TResponse>): any;
options(path: string, handler: RequestHandler<TRequest, TResponse>): any;
search(handler: RequestHandler<TRequest, TResponse>): any;
search(path: string, handler: RequestHandler<TRequest, TResponse>): any;
search?(handler: RequestHandler<TRequest, TResponse>): any;
search?(path: string, handler: RequestHandler<TRequest, TResponse>): any;
listen(port: number | string, callback?: () => void): any;
listen(port: number | string, hostname: string, callback?: () => void): any;
reply(response: any, body: any, statusCode?: number): any;
Expand Down

0 comments on commit fc29bd7

Please sign in to comment.