mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-07 22:24:27 +00:00
Previously, it used process.Readable/Writeable. But its tests show that the constructor is meant to take process.stdin, which is a ReadStream. Until recently, the two types were mistakenly assignable. Now that they are not, I think the type should be ReadableStream, which is a common supertype of process.Readable and ReadStream.