elastic/kibana
Ver no GitHub[Deployment Management] Clean up @ts-expect-error failures from Typescript v4.9.5 upgrade
Open
#176.244 aberto em 5 de fev. de 2024
Team:Kibana Managementchoregood first issue
Métricas do repositório
- Stars
- (19.065 stars)
- Métricas de merge de PR
- (Mesclagem média 1d 16h) (999 fundiu PRs em 30d)
Description
https://github.com/elastic/kibana/pull/175178 upgrades Typescript to v4.9.5. This leads to TS errors in plugins owned by the Management team. Failures are marked with @ts-expect-error. These need to be removed and have the typings fixed.
Full list of failures to follow up on:
- x-pack/plugins/index_lifecycle_management/public/application/sections/edit_policy/form/form_errors_context.tsx
- src/plugins/es_ui_shared/static/forms/hook_form_lib/components/use_field.tsx
- src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field.ts
- src/plugins/es_ui_shared/static/forms/hook_form_lib/hooks/use_field_from_props.ts
- src/plugins/es_ui_shared/static/forms/hook_form_lib/types.ts