From 36bb550e479ecbcedfff0def97d3e63731f1f540 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Tue, 11 May 2021 17:31:41 +0200 Subject: [PATCH] Use type casting instead of recurring to any --- .../processors/common_fields/ignore_missing_field.tsx | 2 +- .../processor_form/processors/registered_domain.tsx | 5 +++-- x-pack/plugins/ingest_pipelines/public/shared_imports.ts | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/common_fields/ignore_missing_field.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/common_fields/ignore_missing_field.tsx index 2fe23cbedf694..744e9798c4fb0 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/common_fields/ignore_missing_field.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/common_fields/ignore_missing_field.tsx @@ -43,7 +43,7 @@ export const fieldsConfig: FieldsConfig = { }, }; -type Props = Partial>; +type Props = Partial; export const IgnoreMissingField: FunctionComponent = (props) => ( { return ( @@ -25,7 +26,7 @@ export const RegisteredDomain: FunctionComponent = () => { - + } /> ); }; diff --git a/x-pack/plugins/ingest_pipelines/public/shared_imports.ts b/x-pack/plugins/ingest_pipelines/public/shared_imports.ts index 4afd434b89372..8ed57221a1395 100644 --- a/x-pack/plugins/ingest_pipelines/public/shared_imports.ts +++ b/x-pack/plugins/ingest_pipelines/public/shared_imports.ts @@ -52,6 +52,7 @@ export { ValidationConfig, useFormData, FormOptions, + SerializerFunc, } from '../../../../src/plugins/es_ui_shared/static/forms/hook_form_lib'; export {