diff --git a/packages/nodes-base/nodes/Elasticsearch/Elasticsearch.node.ts b/packages/nodes-base/nodes/Elasticsearch/Elasticsearch.node.ts index 6e2876094c..967b90a842 100644 --- a/packages/nodes-base/nodes/Elasticsearch/Elasticsearch.node.ts +++ b/packages/nodes-base/nodes/Elasticsearch/Elasticsearch.node.ts @@ -175,7 +175,7 @@ export class Elasticsearch implements INodeType { responseData = responseData.map((item: IDataObject) => { return { _id: item._id, - ...(item._source as Object), + ...(item._source as {}), }; }); }