Hi,
If I reference kendo.all.d.ts without having JQuery definitions loaded, then kendo.all.d.ts has a compile error due to the missing interface JQueryAjaxSettings.
I've added a new file kendo-all-fix.d.ts which contains the interface
interface JQueryAjaxSettings {
// ... full definition copied from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/jquery/jquery.d.ts
}
As I can see, you've provided empty JQuery interfaces in order to make it compile.
I'm using kendo 2016.2.714
5 Answers, 1 is accepted
The shipped definitions indeed reference the jQuery type definitions. We don't include an empty JQueryAjaxSettings interface as far as I can see.
It's expected to have both in order to use them. I hope this helps.
Regards,
T. Tsonev
Telerik by Progress
I found somehow an inconsistent behavior, because in kendo.all.d.ts you can find those JQuery empty interfaces (I guess just to make it compile):
interface JQueryXHR {
}
interface JQueryEventObject {
}
interface JQueryPromise<T> {
}
So I was wondering why not including also
interface JQueryAjaxSettings {
}
Can you please check that you're using the latest version of the definitions? You can find them on nuget.org or in the distributions package.
Regards,
T. Tsonev
Telerik by Progress
Hi,
I'm using the one included into telerik.kendoui.professional.2016.2.714.commercial, downloaded few days ago. I tried also the one from nuget and I don't see a definition for it into kendo-ui.d.ts either.
Enrico
Thanks for the report. We will update the definitions so that they are consistent.
I've also updated your points as a token of gratitude for the report.
Regards,
Genady Sergeev
Telerik by Progress