jquery typescript definition file gives error -
i have 2 visual studio projects in same solution, have updated latest jquery 2-1-3 , typescript definition 2-2-3, error, build: interface 'jquerypromise' incorrectly extends interface 'jquerygenericpromise
funny thing error in 1 project. ideas thanks
had same problem, did copy following line bottom of "interface jquerypromise extends jquerygenericpromise" block.
/** * add handlers called when deferred object resolved, rejected, or still in progress. * * @param donefilter function called when deferred resolved. * @param failfilter optional function called when deferred rejected. */ then<u>(donefilter: (value?: t, ...values: any[]) => u|jquerypromise<u>, failfilter?: (...reasons: any[]) => any, progressfilter?: (...progression: any[]) => any): jquerypromise<u>; /** * add handlers called when deferred object resolved, rejected, or still in progress. * * @param donefilter function called when deferred resolved. * @param failfilter optional function called when deferred rejected. */ then(donefilter: (value?: t, ...values: any[]) => void, failfilter?: (...reasons: any[]) => any, progressfilter?: (...progression: any[]) => any): jquerypromise<void>;
Comments
Post a Comment