From eb2563632f4c4530ebe03e84954546e1c59bb6a5 Mon Sep 17 00:00:00 2001 From: harithay Date: Sun, 18 Oct 2020 01:44:19 -0400 Subject: [PATCH] Changed maxFileSize and minFileSize type to number --- 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.) **/