Kaynağa Gözat

add more types to ThumbnailGeneratorOptions

Artur Paikin 4 yıl önce
ebeveyn
işleme
57344eff0b

+ 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,
   }
 }