Skip to content

[BUG] indices.existsAlias types are not correct #990

@pveller

Description

@pveller

What is the bug?

The types for indices.existsAlias are not correct.

This is a HEAD method and result.body will be set to a boolean based on the response status:

https://github.com/opensearch-project/opensearch-js/blob/main/lib/Transport.js#L396

The types suggest otherwise:

https://github.com/opensearch-project/opensearch-js/blob/main/api/indices/existsAlias.d.ts#L34

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions