[英]typescript error TS2688 after installing ember-table. Can I not ignore those?
I am using ember with typescript. 我正在将余烬与打字稿一起使用。 After installing ember-table, started getting the errors below -
安装ember-table后,开始出现以下错误-
error TS2688: Cannot find type definition file for 'antiscroll'.
error TS2688: Cannot find type definition file for 'jquery-mousewheel'.
error TS2688: Cannot find type definition file for 'jquery-ui'.
while Typed definition for jquery-ui is not there but we do have jueryui on definitelytyped, others are not even available. 虽然没有jquery-ui的类型化定义,但是我们确实有jueryui上的definetyped,但其他类型甚至不可用。
I know there is lot of discussion on github ( https://github.com/Microsoft/TypeScript/issues/3691 ) but I see no resolution despite the issue being closed, I may be mistaken though. 我知道在github( https://github.com/Microsoft/TypeScript/issues/3691 )上有很多讨论,但是尽管问题已解决,但我看不到任何解决方案,不过我可能会误会。
Has anyone solved this yet? 有人解决了吗? Since these were installed as dependencies and not used directly, I have no control over defining then as 'any'.
由于这些都是作为依赖项安装的,不能直接使用,因此我无法控制将它们定义为“ any”。
Help needed. 需要帮助。
Turns out, ember-table is incompatible with the ember version I am running. 事实证明,ember-table与我正在运行的ember版本不兼容。
https://github.com/Addepar/ember-table/issues/423 https://github.com/Addepar/ember-table/issues/423
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.