mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-07 22:38:13 +08:00
fix: actually use same type as stream object
This commit is contained in:
2
types/highland/index.d.ts
vendored
2
types/highland/index.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user