We're working on migrating our application from angular 6 to 7 and we're using Ng-fullCalendar.
Our package.json file includes the following versions:
"fullcalendar": "3.6.1",
"ng-fullcalendar": "1.7.1"
When compiling our project, we're getting the following error:
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"'.
Is there any workaround to resolve this problem?
This issue is already fixed: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28000
You just have to update your @types/jquery
npm update @types/jquery
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With