فهرست منبع

fix(elasticsearch-plugin): Make option optional

Michael Bromley 6 سال پیش
والد
کامیت
da8b2f246d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/elasticsearch-plugin/src/options.ts

+ 1 - 1
packages/elasticsearch-plugin/src/options.ts

@@ -111,7 +111,7 @@ export interface SearchConfig {
      * }
      * ```
      */
-    priceRangeBucketInterval: number;
+    priceRangeBucketInterval?: number;
 }
 
 /**