You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of the bug.
It appears that security is missing from the Client type declaration which causes "Property 'security' does not exist on type 'Client'" in IDE's.
How can one reproduce the bug?
Steps to reproduce the behavior.
import { Client } from '@opensearch-project/opensearch';
const client = new Client(...)
client.security
What is the expected behavior?
A clear and concise description of what you expected to happen.
The security namespace exists on the client.
What is your host/environment?
Operating system, version.
MacOS 13.6.2
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
@opensearch-project/opensearch: 2.4.0
The tests added in the commit are in javascript. I believe this is why the issue wasn't observed
The text was updated successfully, but these errors were encountered:
The new.d.ts export is not what is used by default with the import statement import { Client } from '@opensearch-project/opensearch';. Rather, it still points to the definitions in index.d.ts. The default exports need to be updated to use the new type definitions.
What is the bug?
A clear and concise description of the bug.
It appears that
security
is missing from the Client type declaration which causes "Property 'security' does not exist on type 'Client'" in IDE's.How can one reproduce the bug?
Steps to reproduce the behavior.
What is the expected behavior?
A clear and concise description of what you expected to happen.
The
security
namespace exists on the client.What is your host/environment?
Operating system, version.
MacOS 13.6.2
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
@opensearch-project/opensearch: 2.4.0
The tests added in the commit are in javascript. I believe this is why the issue wasn't observed
The text was updated successfully, but these errors were encountered: