From ac9573ed3bf883c06bd79a234197a424f8197e76 Mon Sep 17 00:00:00 2001 From: Tomas V Date: Tue, 7 May 2019 01:05:44 +0200 Subject: [PATCH] [express-fileupload] missing types (#35226) --- types/express-fileupload/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/types/express-fileupload/index.d.ts b/types/express-fileupload/index.d.ts index 060476b109..6d8beaba11 100644 --- a/types/express-fileupload/index.d.ts +++ b/types/express-fileupload/index.d.ts @@ -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 // Sefa Ilkimen +// Tomas Vosicky // 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; }