From e858119558085dfcf0dc2de98f0b0082246fcffb Mon Sep 17 00:00:00 2001 From: "Martin D." Date: Fri, 13 Sep 2013 11:19:51 -0400 Subject: [PATCH] Create jquery.address.d.ts --- jquery.address/jquery.address.d.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 jquery.address/jquery.address.d.ts diff --git a/jquery.address/jquery.address.d.ts b/jquery.address/jquery.address.d.ts new file mode 100644 index 0000000000..a89021583b --- /dev/null +++ b/jquery.address/jquery.address.d.ts @@ -0,0 +1,24 @@ +/// + +// Type definitions for jQuery.Address 1.5 +// Project: https://github.com/asual/jquery-address +// Definitions by: Martin Duparc <@martinduparc> +// Definitions: https://github.com/borisyankov/DefinitelyTyped/ + +interface JQueryAddressStatic { + (); + change(callback: any): void; + value(url: any): void; +} + +interface JQueryAddress { + (): JQuery; +} + +interface JQueryStatic { + address: JQueryAddressStatic; +} + +interface JQuery { + address: JQueryAddress; +}