From f2f9f5e9356d0b0de8b18e9fceebf721393eacd0 Mon Sep 17 00:00:00 2001 From: maryia-lapata Date: Thu, 30 Jan 2020 10:24:14 +0300 Subject: [PATCH] Fix TS --- src/core/public/saved_objects/saved_object_save_modal.tsx | 2 +- .../embeddable/public/lib/embeddables/embeddable_factory.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/public/saved_objects/saved_object_save_modal.tsx b/src/core/public/saved_objects/saved_object_save_modal.tsx index 3e15ae7fe04d1..e88752bfc4800 100644 --- a/src/core/public/saved_objects/saved_object_save_modal.tsx +++ b/src/core/public/saved_objects/saved_object_save_modal.tsx @@ -35,7 +35,7 @@ import { EuiSwitchEvent, EuiTextArea, } from '@elastic/eui'; -import { FormattedMessage } from '@kbn/i18n/target/types/react'; +import { FormattedMessage } from '@kbn/i18n/react'; import React from 'react'; import { EuiText } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; diff --git a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts index cec0d1875d040..64d73327c12ca 100644 --- a/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts +++ b/src/plugins/embeddable/public/lib/embeddables/embeddable_factory.ts @@ -39,7 +39,7 @@ export interface OutputSpec { [key: string]: PropertySpec; } -export interface EmbeddableFactoryOptions { +export interface EmbeddableFactoryOptions { savedObjectMetaData?: SavedObjectMetaData; }