Hello,
I have the following code that works fine in javascript.
kendo.drawing.drawDOM($(".content-wrapper"))
but when I switched over to Typescript, I get the following error.
Argument of type 'JQuery' is not assignable to parameter of type 'HTMLElement'
HTMLElement is defined in ..\typescript\kendo.all.d.ts as
interface HTMLElement {
kendoBindingTarget: kendo.data.BindingTarget;
}
BindingTarget is defined as
class BindingTarget {
target: any;
options: any;
source: any;
}
How do I convert the following code to typescript?
kendo.drawing.drawDOM($(".content-wrapper"))