mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
Fix the parameters of the WriteStream constructor.
Close: https://github.com/oven-sh/bun/issues/3395
This commit is contained in:
@@ -642,8 +642,8 @@ WriteStream = (function (InternalWriteStream) {
|
||||
});
|
||||
|
||||
return Object.defineProperty(
|
||||
function WriteStream(options) {
|
||||
return new InternalWriteStream(options);
|
||||
function WriteStream(path, options) {
|
||||
return new InternalWriteStream(path, options);
|
||||
},
|
||||
Symbol.hasInstance,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user