繁体   English   中英

安装ember-table后出现打字稿错误TS2688。 我不能忽略这些吗?

[英]typescript error TS2688 after installing ember-table. Can I not ignore those?

我正在将余烬与打字稿一起使用。 安装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'.

虽然没有jquery-ui的类型化定义,但是我们确实有jueryui上的definetyped,但其他类型甚至不可用。

我知道在github( https://github.com/Microsoft/TypeScript/issues/3691 )上有很多讨论,但是尽管问题已解决,但我看不到任何解决方案,不过我可能会误会。

有人解决了吗? 由于这些都是作为依赖项安装的,不能直接使用,因此我无法控制将它们定义为“ any”。

需要帮助。

事实证明,ember-table与我正在运行的ember版本不兼容。

https://github.com/Addepar/ember-table/issues/423

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM