@tanbo/stream
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -6,2 +6,2 @@ import { Operator } from '../core/_api'; | ||
*/ | ||
export declare function tap<T>(callback: () => void): Operator<T, T>; | ||
export declare function tap<T>(callback: (value: T) => void): Operator<T, T>; |
@@ -11,3 +11,3 @@ import { Observable } from '../core/_api'; | ||
next(v) { | ||
callback(); | ||
callback(v); | ||
subscriber.next(v); | ||
@@ -14,0 +14,0 @@ }, |
{ | ||
"name": "@tanbo/stream", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "A data stream lib", | ||
@@ -5,0 +5,0 @@ "main": "./public-api.js", |
52540