File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
- import { EventEmitter } from "node:events" ;
2
1
import type * as stream from "node:stream" ;
3
2
import type { BufferEncoding , Callback } from "../../_internal/types" ;
4
3
4
+ import { EventEmitter } from "../events" ;
5
+
5
6
// Docs: https://nodejs.org/api/stream.html#stream_readable_streams
6
7
// Implementation: https://github.com/nodejs/node/blob/master/lib/internal/streams/readable.js
7
8
Original file line number Diff line number Diff line change 1
- import { EventEmitter } from "node:events" ;
2
1
import type * as stream from "node:stream" ;
3
2
import type { BufferEncoding , Callback } from "../../_internal/types" ;
4
3
4
+ import { EventEmitter } from "../events" ;
5
+
5
6
// Docs: https://nodejs.org/api/stream.html#stream_writable_streams
6
7
// Implementation: https://github.com/nodejs/node/blob/master/lib/internal/streams/writable.js
7
8
// eslint-disable-next-line unicorn/prefer-event-target
You can’t perform that action at this time.
0 commit comments