Skip to content

Commit

Permalink
fix(tap): make next optional (#3073)
Browse files Browse the repository at this point in the history
closes #2534
  • Loading branch information
felixfbecker authored and benlesh committed Nov 15, 2017
1 parent cd9626a commit e659f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators/tap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { noop } from '../util/noop';
import { isFunction } from '../util/isFunction';

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

Expand Down

0 comments on commit e659f0c

Please sign in to comment.