请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

Property 'filter' does not exist on type 'Observable<Event>'.

/usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js run start --scripts-prepend-node-path=auto

auction@0.0.0 start /Users/amos/Documents/ngdemo/auction
ng serve

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Date: 2018-10-06T07:51:46.492Z
Hash: c42bd69991c9b52c54eb
Time: 6399ms
ERROR in src/app/content/content.component.ts(18,8): error TS2339: Property ‘filter’ does not exist on type ‘Observable’.

正在回答 回答被采纳积分+3

1回答

JoJo 2018-10-09 15:58:17

content.component.ts的18行写的有问题,代码贴一下看看

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信