Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NodeJS][TS2339] error when hookup nodejs client to dashboards #1121

Closed
ananzh opened this issue Jan 10, 2022 · 0 comments
Closed

[NodeJS][TS2339] error when hookup nodejs client to dashboards #1121

ananzh opened this issue Jan 10, 2022 · 0 comments
Assignees
Labels
nodejs 🍭 issues related to nodejs client v2.0.0

Comments

@ananzh
Copy link
Member

ananzh commented Jan 10, 2022

Describe the bug
See one TS2339 errors when hook up nodejs to dashboards (related issue here ). Details are:

  • mocks.test.ts
src/core/server/opensearch/client/mocks.test.ts:57:25 - error TS2339: Property 'asyncSearch' does not exist on type 'DeeplyMockedKeys<Client>'. 57  expectMocked(client.asyncSearch.get);

To Reproduce
Hook up nodejs client to dashboards using node-14. I have a hooked up branch here. Then after removind node-modules, run yarn osd bootstrap.

Expected behavior
Fix the error.

@ananzh ananzh added v2.0.0 nodejs 🍭 issues related to nodejs client labels Jan 10, 2022
@ananzh ananzh self-assigned this Jan 10, 2022
@ananzh ananzh closed this as completed Jan 26, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
Fixes opensearch-project#1096 

BREAKING CHANGE: `description` prop in `<Settings/>` is renamed to `ariaDescription`

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
# [29.0.0](elastic/elastic-charts@v28.2.0...v29.0.0) (2021-04-22)

### Features

* **a11y:** add label for screen readers ([opensearch-project#1121](elastic/elastic-charts#1121)) ([ddb8782](elastic/elastic-charts@ddb8782)), closes [opensearch-project#1096](elastic/elastic-charts#1096)
* **annotations:** marker body with dynamic positioning ([#1116](elastic/elastic-charts#1116)) ([997d487](elastic/elastic-charts@997d487))

### BREAKING CHANGES

* **a11y:** `description` prop in `<Settings/>` is renamed to `ariaDescription`

Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nodejs 🍭 issues related to nodejs client v2.0.0
Projects
None yet
Development

No branches or pull requests

1 participant