Merge pull request #5552 from bardt/patch-2

Add submit method definition to form-data
This commit is contained in:
Masahiro Wakame
2015-09-03 02:13:29 +09:00
+1
View File
@@ -11,5 +11,6 @@ declare module "form-data" {
getHeaders(): Object;
// TODO expand pipe
pipe(to: any): any;
submit(params: string|Object, callback: (error: any, response: any) => void): any;
}
}