diff --git a/src/bun.js/bindings/BunReadableStream.h b/src/bun.js/bindings/BunReadableStream.h index 2d368cb50b..a9518094ca 100644 --- a/src/bun.js/bindings/BunReadableStream.h +++ b/src/bun.js/bindings/BunReadableStream.h @@ -1,5 +1,6 @@ -#include "root.h" +#pragma once +#include "root.h" #include #include #include @@ -20,9 +21,8 @@ public: template static JSC::GCClient::IsoSubspace* subspaceFor(JSC::VM& vm); + static JSReadableStream* create(JSC::VM&, JSC::JSGlobalObject*, JSC::Structure*); - static JSObject* createPrototype(JSC::VM&, JSC::JSGlobalObject*); - static JSObject* createConstructor(JSC::VM&, JSC::JSGlobalObject*, JSC::JSValue prototype); static JSC::Structure* createStructure(JSC::VM&, JSC::JSGlobalObject*, JSC::JSValue prototype); enum class State {