diff --git a/packages/@uppy/core/types/index.d.ts b/packages/@uppy/core/types/index.d.ts index 943b1201ad..9428d13289 100644 --- a/packages/@uppy/core/types/index.d.ts +++ b/packages/@uppy/core/types/index.d.ts @@ -59,10 +59,10 @@ declare module Uppy { } interface Restrictions { - maxFileSize: number | null; - maxNumberOfFiles: number | null; - minNumberOfFiles: number | null; - allowedFileTypes: string[] | null; + maxFileSize?: number | null; + maxNumberOfFiles?: number | null; + minNumberOfFiles?: number | null; + allowedFileTypes?: string[] | null; } interface UppyOptions {