| 11 | |
| 12 | // Extracted because @types/node doesn't export interfaces. |
| 13 | interface ReadableOptions { |
| 14 | highWaterMark?: number; |
| 15 | encoding?: string; |
| 16 | objectMode?: boolean; |
| 17 | read?(this: stream.Readable, size: number): void; |
| 18 | destroy?(this: stream.Readable, error: Error | null, callback: (error: Error | null) => void): void; |
| 19 | autoDestroy?: boolean; |
| 20 | } |
| 21 | |
| 22 | interface Options extends ReadableOptions { |
| 23 | writable?: boolean; |
nothing calls this directly
no outgoing calls
no test coverage detected