elastic/kibana
GitHub で見る[Deployment Management] Clean up @ts-expect-error failures from Typescript v4.9.5 upgrade
Open
#176,244 opened on 2024年2月5日
Team:Kibana Managementchoregood first issue
説明
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