wed
Version:
Wed is a schema-aware editor for XML documents.
11 lines (8 loc) • 387 B
text/typescript
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);
}