Explorar o código

add more types to ThumbnailGeneratorOptions

Artur Paikin %!s(int64=4) %!d(string=hai) anos
pai
achega
57344eff0b
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      packages/@uppy/thumbnail-generator/types/index.d.ts

+ 6 - 2
packages/@uppy/thumbnail-generator/types/index.d.ts

@@ -3,8 +3,12 @@ import ThumbnailGeneratorLocale = require('./generatedLocale')
 
 declare module ThumbnailGenerator {
   interface ThumbnailGeneratorOptions extends Uppy.PluginOptions {
-    thumbnailWidth?: number
-    locale?: ThumbnailGeneratorLocale
+    thumbnailWidth?: number,
+    thumbnailHeight?: number,
+    thumbnailType?: string, 
+    waitForThumbnailsBeforeUpload?: boolean,
+    lazy?: boolean,
+    locale?: ThumbnailGeneratorLocale,
   }
 }