从’rxjs’导入{of};不适合我.
更详细的解释:https://github.com/ReactiveX/rxjs/blob/master/MIGRATION.md#import-paths
import { of } from 'rxjs'; of(1).subscribe(console.log);
见demo:https://stackblitz.com/edit/typescript-e3lxkb?file=index.ts