mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 08:17:05 +00:00
[express-fileupload] missing types (#35226)
This commit is contained in:
Vendored
+5
-1
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user