staltz / xstream

An extremely intuitive, small, and fast functional reactive stream library for JavaScript
http://staltz.github.io/xstream/
MIT License
2.37k stars 137 forks source link

Make strict mode Stream<T> covariant on T #317

Open wclr opened 4 years ago

wclr commented 4 years ago

This PR:

const s$: Stream<number | string> = xs.create<number>()
wclr commented 4 years ago

@staltz hello, what do you say?