import { Observable } from 'rxjs'; import { startWith } from '../../operator/startWith'; (Observable as any).prototype.startWith = startWith; declare module 'rxjs/internal/Observable' { interface Observable { startWith: typeof startWith; } }