Skip to content

Instantly share code, notes, and snippets.

@cartant
Last active May 21, 2018 23:13
Show Gist options
  • Select an option

  • Save cartant/f2f7dd10b4771aae19e483f40d0bf45d to your computer and use it in GitHub Desktop.

Select an option

Save cartant/f2f7dd10b4771aae19e483f40d0bf45d to your computer and use it in GitHub Desktop.
import {
MonoTypeOperatorFunction,
Observable,
UnaryFunction
} from "rxjs";
declare module 'rxjs/internal/util/pipe' {
export function pipe<T>(
...operators: MonoTypeOperatorFunction<T>[]
): <R extends T>(source: Observable<R>) => Observable<R>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment