summaryrefslogtreecommitdiff
path: root/ext/http/01_http.js
diff options
context:
space:
mode:
authorZach <zachauten@gmail.com>2022-07-06 20:40:27 -0400
committerGitHub <noreply@github.com>2022-07-06 20:40:27 -0400
commit82f7daeed77f0250f154d83571f54382a51b1c77 (patch)
tree4d931016b0455da8fcdee82a6d4c62307beddf74 /ext/http/01_http.js
parent6046342a20d0035d8e64887da2133bb20601f86a (diff)
fix(ext/http) nextRequest return type annotation from ResponseEvent to RequestEvent (#15100)
Fixes #15099
Diffstat (limited to 'ext/http/01_http.js')
-rw-r--r--ext/http/01_http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http/01_http.js b/ext/http/01_http.js
index 877342428..332763451 100644
--- a/ext/http/01_http.js
+++ b/ext/http/01_http.js
@@ -81,7 +81,7 @@
return this.#rid;
}
- /** @returns {Promise<ResponseEvent | null>} */
+ /** @returns {Promise<RequestEvent | null>} */
async nextRequest() {
let nextRequest;
try {