UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

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