加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

带有角度7的Ng-fullcalendar

发布时间:2020-12-17 17:57:33 所属栏目:安全 来源:网络整理
导读:我们正在努力将我们的应用程序从角度6迁移到7,我们正在使用Ng-fullCalendar. 我们的package.json文件包含以下版本: "fullcalendar": "3.6.1","ng-fullcalendar": "1.7.1" 在编译我们的项目时,我们收到以下错误: ERROR in node_modules/@types/jquery/index
我们正在努力将我们的应用程序从角度6迁移到7,我们正在使用Ng-fullCalendar.

我们的package.json文件包含以下版本:

"fullcalendar": "3.6.1","ng-fullcalendar": "1.7.1"

在编译我们的项目时,我们收到以下错误:

ERROR in node_modules/@types/jquery/index.d.ts(6123,66): error TS2344: Type '"timeout" | "onreadystatechange" | "responseType" | "withCredentials" | "msCaching"' does not satisfy the constraint '"abort" | "open" | "timeout" | "response" | "getAllResponseHeaders" | "getResponseHeader" | "overrideMimeType" | "readyState" | "responseText" | "setRequestHeader" | "status" | ... 22 more ... | "dispatchEvent"'.
      Type '"msCaching"' is not assignable to type '"abort" | "open" | "timeout" | "response" | "getAllResponseHeaders" | "getResponseHeader" | "overrideMimeType" | "readyState" | "responseText" | "setRequestHeader" | "status" | ... 22 more ... | "dispatchEvent"'.

有没有解决此问题的解决方法?

解决方法

此问题已得到修复:
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28000

你只需要更新你的@ types / jquery

npm update @types/jquery

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读