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

前端 未结 19 2159
一向
一向 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:52

    An admitted band-aid approach is to add the following to your tsconfig.json file until the RxJS folks decide what they want to do about the error when using TypeScript 2.4.1 :

    "compilerOptions": {
    
        "skipLibCheck": true,
    
     }
    

提交回复
热议问题