diff --git a/types/elasticsearch/index.d.ts b/types/elasticsearch/index.d.ts index ec3d417483..69c881e700 100644 --- a/types/elasticsearch/index.d.ts +++ b/types/elasticsearch/index.d.ts @@ -443,7 +443,7 @@ export interface IndexDocumentParams extends GenericParams { waitForActiveShards?: string; opType?: "index" | "create"; parent?: string; - refresh?: string; + refresh?: Refresh; routing?: string; timeout?: TimeSpan; timestamp?: Date | number;