diff --git a/src/operators/tap.ts b/src/operators/tap.ts index b9e43128c4..999f688351 100644 --- a/src/operators/tap.ts +++ b/src/operators/tap.ts @@ -8,7 +8,7 @@ import { noop } from '../util/noop'; import { isFunction } from '../util/isFunction'; /* tslint:disable:max-line-length */ -export function tap(next: (x: T) => void, error?: (e: any) => void, complete?: () => void): MonoTypeOperatorFunction; +export function tap(next?: (x: T) => void, error?: (e: any) => void, complete?: () => void): MonoTypeOperatorFunction; export function tap(observer: PartialObserver): MonoTypeOperatorFunction; /* tslint:enable:max-line-length */