Update formidable for TS 1.4

This commit is contained in:
Wim Looman
2015-01-19 16:27:47 +13:00
parent 56068d3354
commit c0a8b5c8bb
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;