@elastic/elasticsearch

Hello everyone.
I am using elasticsearch client(@elastic/elasticsearch) version 7.13.0 and my elasticsearch server version is 7.10.0. And I am using typescript and node js in my backend. While using the elasticsearch client, I couldn't use the query property, it says No overload matches this call but in the documentation part, it is working properly. So can you please help me figure out this issue?

Welcome to our community! :smiley:

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

You should upgrade you server version to 7.17.4 and the client as well.
It's safer to use the same version for both server and client.