typescript can't find Property 'makeDraggable'

Asked by Thomas de Brouwer
9 years ago.

I am trying to implement the external drag and drop on the scheduler in Angular2. I followed the tutorial (https://doc.daypilot.org/scheduler/external-drag-and-drop/).
I got it working by making a function in my component which makes the items external draggable.
Typescript fails to compile and gives me the following warning: TS2339: Property 'makeDraggable' does not exist on type 'typeof Scheduler'.
However, the code is working as it is supposed to and the items are external draggable.

How can i get rid of this error so typescript can compile my project again?

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.