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

Job-components dep update causes a type mismatch in elasticsearch_bulk. #1023

Closed
busma13 opened this issue Sep 18, 2023 · 0 comments
Closed

Comments

@busma13
Copy link
Contributor

busma13 commented Sep 18, 2023

Resolve a type error caused by updating job-components.

When bumping @terascope/job-components from 0.59.0 to 0.62.0 all tests fail with the following error:

Error: asset/src/elasticsearch_bulk/processor.ts(17,11): error TS2416: Property 'onBatch' in type 'ElasticsearchBulk' is not assignable to the same property in base type 'BatchProcessor<ElasticsearchBulkConfig>'.

Find and fix the type mismatch.

Ref:
#1020

@busma13 busma13 closed this as completed Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant