summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/node/polyfills/http2.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/polyfills/http2.ts b/ext/node/polyfills/http2.ts
index cab7aa26c..a9ced2bd9 100644
--- a/ext/node/polyfills/http2.ts
+++ b/ext/node/polyfills/http2.ts
@@ -2295,7 +2295,7 @@ function onStreamTimeout(kind) {
};
}
-class Http2ServerRequest extends Readable {
+export class Http2ServerRequest extends Readable {
readableEnded = false;
constructor(stream, headers, options, rawHeaders) {
@@ -2523,7 +2523,7 @@ function isConnectionHeaderAllowed(name, value) {
value === "trailers";
}
-class Http2ServerResponse extends Stream {
+export class Http2ServerResponse extends Stream {
writable = false;
req = null;