[express-fileupload] missing types (#35226)

This commit is contained in:
Tomas V
2019-05-06 16:05:44 -07:00
committed by Jesse Trinity
parent f41d41d860
commit ac9573ed3b
+5 -1
View File
@@ -1,7 +1,8 @@
// Type definitions for express-fileupload 0.4
// Type definitions for express-fileupload 1.1
// Project: https://github.com/richardgirges/express-fileupload#readme
// Definitions by: Gintautas Miselis <https://github.com/Naktibalda>
// Sefa Ilkimen <https://github.com/silkimen>
// Tomas Vosicky <https://github.com/vosatom>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -29,7 +30,10 @@ declare namespace fileUpload {
encoding: string;
mimetype: string;
data: Buffer;
size: number;
tempFilePath: string;
truncated: boolean;
md5: string;
mv(path: string, callback: (err: any) => void): void;
mv(path: string): Promise<void>;
}