rxjs 6 "skip" 运算符丢失

rxjs 6 "skip" operator missing

我已经升级到 Angular/Rxjs 6,我注意到 Observable 上的 "skip" 运算符不再存在。我找不到合适的替代品,有人有什么建议吗? 谢谢!

.skip(1)

变为:

.pipe(skip(1))

Make sure you have correct imports and then wrap your .skip with a .pipe( , , ,)

import { Observable, of, throwError } from 'rxjs';
import { map, filter, scan, skip } from 'rxjs/operators';

  .pipe(
    filter(() => this.registrationForm.valid),
    map((registrationForm: any) => { // Form to-> ViewModel
      this.registrationVm.username = registrationForm.username;
      this.registrationVm.password = registrationForm.password;
      this.registrationVm.passwordConfirm = registrationForm.passwordConfirm;
    })
  )
  .subscribe();