Skip to content

Commit 6edf9b6

Browse files
committed
make client config optional
1 parent 49efb43 commit 6edf9b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface IElasticModelConfig {
5959
idField?: string;
6060
apiVersion?: string;
6161
excludedFields?: string[];
62-
clientConfig: ConfigOptions;
62+
clientConfig?: ConfigOptions;
6363
}
6464

6565
export class ElasticModel<T extends Item> {

0 commit comments

Comments
 (0)