Typehint against Stream (fixes #5)
Fixes compatibility with react/stream:0.4 which removed the
StreamInterface.