Skip to content

Commit d8a5d70

Browse files
authored
chore: add callback to http-proxy.d.ts jsdoc (#17646)
1 parent 4be96b4 commit d8a5d70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/vite/src/types/http-proxy.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export namespace HttpProxy {
5858
* @param req - Client request.
5959
* @param res - Client response.
6060
* @param options - Additional options.
61+
* @param callback - Error callback.
6162
*/
6263
web(
6364
req: http.IncomingMessage,
@@ -72,6 +73,7 @@ export namespace HttpProxy {
7273
* @param socket - Client socket.
7374
* @param head - Client head.
7475
* @param options - Additional options.
76+
* @param callback - Error callback.
7577
*/
7678
ws(
7779
req: http.IncomingMessage,

0 commit comments

Comments
 (0)