first.ts 231 Bytes

import { Observable } from '../../Observable';
import { first } from '../../operator/first';

Observable.prototype.first = <any>first;

declare module '../../Observable' {
  interface Observable<T> {
    first: typeof first;
  }
}