fix: actually use same type as stream object

This commit is contained in:
Robert K. Bell
2017-09-05 18:21:11 +10:00
committed by GitHub
parent 615e801485
commit 2bfeb65308

View File

@@ -783,7 +783,7 @@ declare namespace Highland {
* // after 100ms => 1, 2, 3, 4
* // after 200ms => 1, 2, 3, 4, 5
*/
ratelimit<R>(num: number, ms: number): Stream<R>;
ratelimit(num: number, ms: number): Stream<R>;
/**
* Boils down a Stream to a single value. The memo is the initial state