From d31cf6a373df19d8e09599864757c61022ef4f04 Mon Sep 17 00:00:00 2001 From: Liza Katz Date: Mon, 10 Feb 2020 20:51:43 +0200 Subject: [PATCH] fix ts error on master (#57236) Co-authored-by: Elastic Machine --- .../core_plugins/vis_type_timeseries/public/services.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/legacy/core_plugins/vis_type_timeseries/public/services.ts b/src/legacy/core_plugins/vis_type_timeseries/public/services.ts index c16ed47f54874..64ee897247b89 100644 --- a/src/legacy/core_plugins/vis_type_timeseries/public/services.ts +++ b/src/legacy/core_plugins/vis_type_timeseries/public/services.ts @@ -19,13 +19,13 @@ import { I18nStart, SavedObjectsStart, IUiSettingsClient, CoreStart } from 'src/core/public'; import { createGetterSetter } from '../../../../plugins/kibana_utils/public'; -import { DataPublicPluginStart, FieldFormatsStart } from '../../../../plugins/data/public'; +import { DataPublicPluginStart } from '../../../../plugins/data/public'; export const [getUISettings, setUISettings] = createGetterSetter('UISettings'); -export const [getFieldFormats, setFieldFormats] = createGetterSetter( - 'FieldFormats' -); +export const [getFieldFormats, setFieldFormats] = createGetterSetter< + DataPublicPluginStart['fieldFormats'] +>('FieldFormats'); export const [getSavedObjectsClient, setSavedObjectsClient] = createGetterSetter( 'SavedObjectsClient'