【发布时间】:2022-07-26 17:11:33
【问题描述】:
我将 rxjs 与 typescript 一起使用,但我得到了下一个错误
Could not find a declaration file for module 'rxjs'.'C:/Path/to/project/node_modules/rxjs/dist/cjs/index.js'
typescript version 4.7.4
rxjs version 7.5.6
working with vscode 1.59
我创建了新的 Angular 14 应用程序。 为了解决这个问题,我尝试升级 typescript 版本,就像我在 github 问题中看到的那样,它在 typescript 4.2 及更高版本之后解决了 但我仍然有错误
如何解决版本问题?
【问题讨论】:
标签: typescript rxjs