UNPKG

@acutmore/rxjs

Version:

Reactive Extensions for modern JavaScript

12 lines (8 loc) 299 B
import { Observable } from '../../internal/Observable'; import { switchMapTo } from '../../internal/patching/operator/switchMapTo'; Observable.prototype.switchMapTo = switchMapTo; declare module '../../internal/Observable' { interface Observable<T> { switchMapTo: typeof switchMapTo; } }