mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Update formidable for TS 1.4
This commit is contained in:
@@ -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