single.ts 232 Bytes

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

Observable.prototype.single = single;

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