Angular 6 RXJS Import Syntax?

后端 未结 5 1497
北恋
北恋 2020-12-08 09:24

I\'m migrating an Angular 5 app to the latest CLI and Angular 6 RC and all of my Observable imports are broken. I see that Angular 6 changes the way the imports work, but I

5条回答
  •  青春惊慌失措
    2020-12-08 10:20

    Or if you want to keep using version 6.0.0 you do

    npm i --save rxjs-compat

    to add reverse compatibility

提交回复
热议问题