Explorar o código

fix(elasticsearch-plugin): Make option optional

Michael Bromley %!s(int64=6) %!d(string=hai) anos
pai
achega
da8b2f246d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
 }
 
 /**