From 3451f3be3c2482a13c6626c9c7f9f44d7840df42 Mon Sep 17 00:00:00 2001 From: Aaron King Date: Tue, 18 Jun 2013 08:47:58 -0400 Subject: [PATCH] jquery.autosize definitions --- jquery.autosize/jquery.autosize.d.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 jquery.autosize/jquery.autosize.d.ts diff --git a/jquery.autosize/jquery.autosize.d.ts b/jquery.autosize/jquery.autosize.d.ts new file mode 100644 index 000000000..5b9f9adfb --- /dev/null +++ b/jquery.autosize/jquery.autosize.d.ts @@ -0,0 +1,21 @@ +// Type definitions for jquery.autosize (un-versioned) +// Project: http://www.jacklmoore.com/autosize/ +// Definitions by: Aaron T. King +// Definitions: https://github.com/borisyankov/DefinitelyTyped + +/// + +interface AutosizeOptions { + className?: string; + append?: string; + callback?: Function; +} + +interface Autosize { + (): JQuery; + (options: AutosizeOptions): JQuery; +} + +interface JQuery { + autosize: Autosize; +} \ No newline at end of file