From 70b6b1ee3fc043b477a88c5415696342a5fe991d Mon Sep 17 00:00:00 2001 From: Vitalii Zurian Date: Sat, 23 May 2020 18:17:51 +0200 Subject: [PATCH] Fixed wrong types --- resumable.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resumable.d.ts b/resumable.d.ts index 8ada5eeb..063cf79d 100644 --- a/resumable.d.ts +++ b/resumable.d.ts @@ -112,7 +112,7 @@ declare namespace Resumable { /** * The minimum allowed file size. (Default: undefined) **/ - minFileSize?: boolean; + minFileSize?: number; /** * A function which displays an error a selected file is smaller than allowed. (Default: displays an alert for every bad file.) **/ @@ -120,7 +120,7 @@ declare namespace Resumable { /** * The maximum allowed file size. (Default: undefined) **/ - maxFileSize?: boolean; + maxFileSize?: number; /** * A function which displays an error a selected file is larger than allowed. (Default: displays an alert for every bad file.) **/