search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

typescript can't find Property 'makeDraggable'

Asked by Thomas de Brouwer
2 years ago.

I am trying to implement the external drag and drop on the scheduler in Angular2. I followed the tutorial (
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?

Answer posted by Dan Letecky [DayPilot]
2 years ago.

DayPilot.Scheduler.makeDraggable() is now included in the TypeScript definitions (since

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