summaryrefslogtreecommitdiff
path: root/lib/_stream_writable.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_stream_writable.js')
-rw-r--r--lib/_stream_writable.js1
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() {}