简体   繁体   English

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

[英]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.

相关问题 错误 TS2688:找不到“tooltip.js”的类型定义文件 - error TS2688: Cannot find type definition file for 'tooltip.js' “找不到‘async’的类型定义文件。TS2688” - "Cannot find type definition file for 'async'. TS2688" 我该如何解决“错误:TypeScript 编译中缺少 \\src\\main.ts”。 - How can i solve "Error: \src\main.ts is missing from the TypeScript compilation." Typescript 无法编译类型不存在的错误 TS2339 - Typescript can't compile type not existing Error TS2339 "我创建的对象数组出现 ts 7053 错误(Typescript)" - Getting ts 7053 error (Typescript) with my Array of Objects that I created 为什么我得到 ':' expected.ts(1005) 作为 Typescript 错误? - Why do I get ':' expected.ts(1005) as a Typescript error? 在 VS 代码中,我可以验证我的 Javascript 但忽略特定的 Typescript 错误吗? - In VS Code Can I Validate my Javascript But Ignore a Specific Typescript Error? 安装 React 后如何修复此 npm 启动错误? - How can I fix this npm start error after installing React? 我可以在 Typescript 中使用 io-ts 测试带有正则表达式的字符串吗 - Can I test a string with regex using io-ts in Typescript 分配属性时,如何避免 Microsoft Bot Framework 的 StatePropertyAccessor 中的 Typescript 错误 TS2345 - How can I avoid a Typescript Error, TS2345, in the Microsoft Bot Framework's StatePropertyAccessor when I assign a property
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM