From package "@types/kendo-ui": "2020.1.0" i found;
class Connection extends Observable {
options: ConnectionOptions;
dataItem: any;
from: kendo.dataviz.diagram.Shape;
sourceConnector: kendo.dataviz.diagram.Connector;
targetConnector: kendo.dataviz.diagram.Connector;
to: kendo.dataviz.diagram.Shape;
constructor(options?: ConnectionOptions);
The constructor is not correct, it has to be like all example you propose: https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram/methods/addconnection
Please correct typings as soon as possible, it drives me in a use that doesn't works
Hello Diego,
Thank you for the information. We shall keep that in mind when we handle the current issue.
Regards,
Martin
Progress Telerik
Thanks Martin,
I have just to say that I have already opened other 2 issues related to typings errors, so please on a new release include also them!
Hello Diego,
Thank you for sharing that information.
I am converting this thread to a bug report in our Feedback Portal. You can track the link for further information when the typings will be fixed.
As a small token of gratitude, I am upgrading your Telerik points.
Feel free to ask if you have any questions.
Regards,
Martin
Progress Telerik
I'm sorry...on file:
node_modules\@progress\kendo-ui\index.d.ts
ps: i'm not using @types/kendo-ui anymore