node_modules/rxjs/Rx"' has no exported member 'of'

按照官方文檔寫代碼javascript import { Injectable } from '@angular/core'; import { Observable, of } from 'rxjs'; //import { Observable } from 'rxjs/Observable'; //import 'rxjs/add/observable/of'; import {Hero}
相關文章
相關標籤/搜索