Skip to content

Commit

Permalink
chore: add callback to http-proxy.d.ts jsdoc (#17646)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomxuetao authored Jul 15, 2024
1 parent 4be96b4 commit d8a5d70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vite/src/types/http-proxy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export namespace HttpProxy {
* @param req - Client request.
* @param res - Client response.
* @param options - Additional options.
* @param callback - Error callback.
*/
web(
req: http.IncomingMessage,
Expand All @@ -72,6 +73,7 @@ export namespace HttpProxy {
* @param socket - Client socket.
* @param head - Client head.
* @param options - Additional options.
* @param callback - Error callback.
*/
ws(
req: http.IncomingMessage,
Expand Down

0 comments on commit d8a5d70

Please sign in to comment.