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

3 posts, 0 answers
  1. Laszlo
    Laszlo avatar
    8 posts
    Member since:
    Sep 2014

    Posted 20 Nov 2014 Link to this post

    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...
  2. Laszlo
    Laszlo avatar
    8 posts
    Member since:
    Sep 2014

    Posted 20 Nov 2014 in reply to Laszlo Link to this post

    Sorry for dupe, got this after submiting the thread first time...
  3. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2527 posts

    Posted 24 Nov 2014 Link to this post

    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!
     
Back to Top