Ng-fullcalendar with angular 7

1122 views angular
1

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?

answered question

1 Answer

4

This issue is already fixed: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28000

You just have to update your @types/jquery

npm update @types/jquery

posted this

Have an answer?

JD

Please login first before posting an answer.