diff --git a/README.md b/README.md index f01b9ec78c..8cc7dd956d 100755 --- a/README.md +++ b/README.md @@ -85,6 +85,7 @@ List of Definitions * [jQuery](http://jquery.com/) (from TypeScript samples) * [jQuery Mobile](http://jquerymobile.com) (by [Boris Yankov](https://github.com/borisyankov)) * [jQuery UI](http://jqueryui.com/) (by [Boris Yankov](https://github.com/borisyankov)) +* [jQuery.autosize](http://www.jacklmoore.com/autosize/) (by [Jack Moore](http://www.jacklmoore.com/)) * [jQuery.BBQ](http://benalman.com/projects/jquery-bbq-plugin/) (by [Adam R. Smith](https://github.com/sunetos)) * [jQuery.contextMenu](http://medialize.github.com/jQuery-contextMenu/) (by [Natan Vivo](https://github.com/nvivo/)) * [jQuery.clientSideLogging](https://github.com/remybach/jQuery.clientSideLogging/) (by [Diullei Gomes](https://github.com/diullei/)) diff --git a/jquery.autosize/jquery.autosize.d.ts b/jquery.autosize/jquery.autosize.d.ts new file mode 100644 index 0000000000..5b9f9adfb3 --- /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