فهرست منبع

add more types to ThumbnailGeneratorOptions

Artur Paikin 4 سال پیش
والد
کامیت
57344eff0b
1فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  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,
   }
 }