fix bun-types.test.ts

This commit is contained in:
Meghan Denny
2025-09-10 00:19:08 -07:00
parent 94dd5d5bdb
commit 90f45180fb

View File

@@ -1,5 +1,7 @@
export {};
type TODO = any;
declare module "stream/web" {
interface ReadableStream {
/**
@@ -272,7 +274,7 @@ declare global {
}
interface HTTPParserConstructor {
new (): HTTPParser;
new (): TODO;
REQUEST: 1;
RESPONSE: 2;
@@ -298,32 +300,6 @@ declare global {
kLenientSpacesAfterChunkSize: 512;
kLenientAll: 1023;
}
interface HTTPParser {
close();
free();
remove();
execute();
finish();
initialize();
pause();
resume();
consume();
unconsume();
getCurrentBuffer();
duration();
headersCompleted();
_headers;
_url;
_consumed;
socket;
incoming;
outgoing;
maxHeaderPairs;
onIncoming;
joinDuplicateHeaders;
}
}
}