UNPKG

@reactivex/rxjs

Version:

Reactive Extensions for modern JavaScript

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