mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Update jquery.d.ts
Added the state method to the JQueryPromise<T> interface.
This commit is contained in:
5
jquery/jquery.d.ts
vendored
5
jquery/jquery.d.ts
vendored
@@ -355,6 +355,11 @@ interface JQueryPromise<T> {
|
||||
*/
|
||||
progress(...progressCallbacks: any[]): JQueryPromise<T>;
|
||||
|
||||
/**
|
||||
* Determine the current state of a Deferred object.
|
||||
*/
|
||||
state(): string;
|
||||
|
||||
// Deprecated - given no typings
|
||||
pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise<any>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user