Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#3484 from Nemo157/formidable-1.4
Browse files Browse the repository at this point in the history
Update formidable for TS 1.4
  • Loading branch information
basarat committed Jan 19, 2015
2 parents 56068d3 + c0a8b5c commit 2d04c57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion formidable/formidable-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion formidable/formidable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare module "formidable" {
keepExtensions: boolean;
maxFieldsSize: number;
maxFields: number;
hash: string;
hash: string | boolean;
multiples: boolean;
type: string;
bytesReceived: number;
Expand Down

0 comments on commit 2d04c57

Please sign in to comment.