大佬教程收集整理的这篇文章主要介绍了node.js – node_modules / ng2-toastr / src / toast-container.component.d.ts中的错误(1,48):TS2305- / node_modules / @ angular / core / core“’没有导出成员,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
在我的app.module.ts中导入了以下格式的toastermodule
从’ngx-toastr’导入{ToastrModulE};
还收到以下错误
错误TS2305:模块’“C:/ Users / user1 / Sublime Text 3 / NodeJS / groupchat-application / node_modules / rxjs / Observable”’没有导出成员’Observable’.
node_modules / rxjs / Observable.d.ts(1,15):错误TS2307:找不到模块’rxjs-compat / Observable’.
在我的service.ts中导入如下
从“rxjs”导入{Observable,of};
请指导如何进行
以上是大佬教程为你收集整理的node.js – node_modules / ng2-toastr / src / toast-container.component.d.ts中的错误(1,48):TS2305- / node_modules / @ angular / core / core“’没有导出成员全部内容,希望文章能够帮你解决node.js – node_modules / ng2-toastr / src / toast-container.component.d.ts中的错误(1,48):TS2305- / node_modules / @ angular / core / core“’没有导出成员所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。