UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

12 lines (8 loc) 256 B
import { Observable } from 'rxjs'; import { switchMap } from '../../operator/switchMap'; (Observable as any).prototype.switchMap = switchMap; declare module 'rxjs/internal/Observable' { interface Observable<T> { switchMap: typeof switchMap; } }