UNPKG

@gerhobbelt/mathjax-third-party-extensions

Version:

A list of MathJax extensions provided by third-party contributors

11 lines (8 loc) 387 B
import { OperatorFunction, ObservableInput } from '../types'; import { switchMap } from './switchMap'; import { identity } from '../util/identity'; export function switchAll<T>(): OperatorFunction<ObservableInput<T>, T>; export function switchAll<R>(): OperatorFunction<any, R>; export function switchAll<T>(): OperatorFunction<ObservableInput<T>, T> { return switchMap(identity); }