rxjs/Subject.d.ts error : Class 'Subject' incorrectly extends base class 'Observable'

前端 未结 19 2127
一向
一向 2020-12-01 09:55

I extracted sample template code from this tutorial and did below two steps to get started -

  1. npm install // worked fine and created node_modules folder
19条回答
  •  旧巷少年郎
    2020-12-01 10:33

    GO to Package.json file and modify the below configuration

    ...
      "rxjs": "5.4.1",
      "typescript": "~2.4.0"
    ...
    

    It will work

提交回复
热议问题