This is a migrated thread and some comments may be shown as answers.

Q3 2014 kendo.web.d.ts breaks visual studio build if jquery.d.ts is present

1 Answer 23 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Laszlo
Top achievements
Rank 1
Laszlo asked on 20 Nov 2014, 09:43 AM
Because it adds `always`, `done` and `fail` to the interface, but those are already defined in jQuery.d.ts.

interface JQueryPromise<T> {
    always(...alwaysCallbacks: any[]): JQueryPromise<T>;
    done(...doneCallbacks: any[]): JQueryPromise<T>;
    fail(...failCallbacks: any[]): JQueryPromise<T>;
    pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<T>;
    then(doneCallbacks: any, failCallbacks: any, progressCallbacks?: any): JQueryPromise<T>;
}

Of course just commenting out those lines fixes the build, but I guess that anyone using kendo ui + typescript, already added jquery.d.ts...

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 24 Nov 2014, 09:13 AM
Hello Laszlo,

Thank you for reporting this. The issue has been fixed for the next internal build, which should be released by the end of tomorrow.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Laszlo
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Share this question
or