diff options
Diffstat (limited to 'lib/_stream_writable.js')
-rw-r--r-- | lib/_stream_writable.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/_stream_writable.js b/lib/_stream_writable.js index a1b3f70951..c2f5a5ec4a 100644 --- a/lib/_stream_writable.js +++ b/lib/_stream_writable.js @@ -47,6 +47,7 @@ const { const { errorOrDestroy } = destroyImpl; Object.setPrototypeOf(Writable.prototype, Stream.prototype); +Object.setPrototypeOf(Writable, Stream); function nop() {} |