Merge pull request #3484 from Nemo157/formidable-1.4

Update formidable for TS 1.4
This commit is contained in:
Basarat Ali Syed
2015-01-19 14:49:33 +11:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ form.uploadDir = '/my/dir';
form.keepExtensions = false;
form.maxFieldsSize = 2 * 1024 * 1024;
form.maxFields = 1000;
// form.hash = false; TODO: Waiting on unions
form.hash = false;
form.hash = 'sha1';
form.multiples = false;
+1 -1
View File
@@ -16,7 +16,7 @@ declare module "formidable" {
keepExtensions: boolean;
maxFieldsSize: number;
maxFields: number;
hash: string;
hash: string | boolean;
multiples: boolean;
type: string;
bytesReceived: number;