Skip to content

Commit e659f0c

Browse files
felixfbeckerbenlesh
authored andcommitted
fix(tap): make next optional (#3073)
closes #2534
1 parent cd9626a commit e659f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators/tap.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { noop } from '../util/noop';
88
import { isFunction } from '../util/isFunction';
99

1010
/* tslint:disable:max-line-length */
11-
export function tap<T>(next: (x: T) => void, error?: (e: any) => void, complete?: () => void): MonoTypeOperatorFunction<T>;
11+
export function tap<T>(next?: (x: T) => void, error?: (e: any) => void, complete?: () => void): MonoTypeOperatorFunction<T>;
1212
export function tap<T>(observer: PartialObserver<T>): MonoTypeOperatorFunction<T>;
1313
/* tslint:enable:max-line-length */
1414

0 commit comments

Comments
 (0)