Update jquery.d.ts

Added the state method to the JQueryPromise<T> interface.
This commit is contained in:
Nimrodxx
2014-06-24 10:27:12 +02:00
parent e6be909842
commit ebe628cec1

5
jquery/jquery.d.ts vendored
View File

@@ -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>;