diff --git a/doc/api/stream.md b/doc/api/stream.md index 91fe70555d0e46..704fefe92756fc 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2558,6 +2558,7 @@ class WriteStream extends Writable { constructor(filename) { super(); this.filename = filename; + this.fd = null; } _construct(callback) { fs.open(this.filename, (err, fd) => {