diff --git a/doc/api/stream.md b/doc/api/stream.md index 936a81cc6e4219..cf9e8d6de7fb39 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2380,7 +2380,7 @@ Calling `abort` on the `AbortController` corresponding to the passed on the readable created. ```js -const fs = require('fs'); +const { Readable } = require('stream'); const controller = new AbortController(); const read = new Readable({ read(size) {