Update jquery.fileuplade.d.ts

Extend JQueryFileUpload from JQuery to enable chaining, add JQuerySupport Interface
This commit is contained in:
Moes
2015-07-06 12:23:51 +10:00
parent 625cd68fed
commit 5d139c1700
+7 -6
View File
@@ -5,7 +5,6 @@
/// <reference path="../jquery/jquery.d.ts"/>
// Interface options for the plugin
interface JQueryFileInputOptions {
@@ -152,13 +151,15 @@ interface JQueryFileInputOptions {
}
interface JQueryFileUpload {
interface JQueryFileUpload extends JQuery {
contentType:string;
}
interface JQuery
{
interface JQuery {
// Interface to the main method of jQuery File Upload
fileupload(settings: JQueryFileInputOptions): JQueryFileUpload;
}
}
interface JQuerySupport {
fileInput?: boolean;
}