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