diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index f675f3944..55f3dc0c8 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -364,6 +364,11 @@ interface JQueryPromise { */ progress(...progressCallbacks: any[]): JQueryPromise; + /** + * 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; diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index ebcaac48f..f07c73fc3 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -335,17 +335,25 @@ interface JQueryMobilePath { } interface ParsedPath { + authority: string; + directory: string; + domain: string; + doubleSlash: string; + filename: string; hash: string; host: string; hostname: string; href: string; + hrefNoHash: string; + hrefNoSearch: string; + password: string; pathname: string; port: string; protocol: string; search: string; + username: string; } - interface JQueryMobile extends JQueryMobileOptions { version: string;