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][TS7031] error when hookup nodejs client to dashboards #1126

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

[NodeJS][TS7031] error when hookup nodejs client to dashboards #1126

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 TS7031 errors when hook up nodejs to dashboards (related issue here ). Details are:

  • core_usage_data_service.ts
src/core/server/core_usage_data/core_usage_data_service.ts:118:20 - error TS7031: Binding element 'body' implicitly has an 'any' type. 118  .then(({ body }) => {

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
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