Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow

Fix some errors in the docs

Fix #45
Fix #41

Changed files
+3 -2
docs
+2 -1
docs/api/operators.md
···
let sourceOne = Wonka.fromArray([|1, 2, 3|]);
let sourceTwo = Wonka.fromArray([|4, 5, 6|]);
-
Wonka.combine(sourceOne, sourceTwo)
|> Wonka.subscribe((. (a, b)) => print_int(a + b));
/* Prints 56789 (1+4, 2+4, 3+4, 3+5, 3+6) to the console. */
···
let sourceOne = Wonka.fromArray([|1, 2, 3|]);
let sourceTwo = Wonka.fromArray([|4, 5, 6|]);
+
Wonka.combine(sourceOne)
+
|> sourceTwo
|> Wonka.subscribe((. (a, b)) => print_int(a + b));
/* Prints 56789 (1+4, 2+4, 3+4, 3+5, 3+6) to the console. */
+1 -1
docs/api/sources.md
···
```reason
let subject = Wonka.makeSubject();
-
let (source, next, complete) = subject;
/* This will push the values synchronously to any subscribers of source */
next(1);
···
```reason
let subject = Wonka.makeSubject();
+
let { source, next, complete } = subject;
/* This will push the values synchronously to any subscribers of source */
next(1);