mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #3484 from Nemo157/formidable-1.4
Update formidable for TS 1.4
This commit is contained in:
commit
2d04c579cb
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -16,7 +16,7 @@ declare module "formidable" {
|
||||
keepExtensions: boolean;
|
||||
maxFieldsSize: number;
|
||||
maxFields: number;
|
||||
hash: string;
|
||||
hash: string | boolean;
|
||||
multiples: boolean;
|
||||
type: string;
|
||||
bytesReceived: number;
|
||||
|
||||
Reference in new issue
Block a user