From 471c801d86ddf94c8098f23b98cbd063847d3f66 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Tue, 10 Dec 2019 23:26:28 +0100 Subject: [PATCH] TimeBuckets typo + remove unnecessary // @ts-ignore --- .../__jest__/client_integration/helpers/app_context.mock.tsx | 2 +- x-pack/legacy/plugins/watcher/public/legacy.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/legacy/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx b/x-pack/legacy/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx index fb36da85fb7f9..de285ee15b59d 100644 --- a/x-pack/legacy/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx +++ b/x-pack/legacy/plugins/watcher/__jest__/client_integration/helpers/app_context.mock.tsx @@ -19,7 +19,7 @@ export const mockContextValue = { docLinks: docLinksServiceMock.createStartContract(), chrome: chromeServiceMock.createStartContract(), legacy: { - TimeBuckets: class MockTimeBuckes { + TimeBuckets: class MockTimeBuckets { setBounds(_domain: any) { return {}; } diff --git a/x-pack/legacy/plugins/watcher/public/legacy.ts b/x-pack/legacy/plugins/watcher/public/legacy.ts index 403b88e159d64..d7b85ccfeb7b4 100644 --- a/x-pack/legacy/plugins/watcher/public/legacy.ts +++ b/x-pack/legacy/plugins/watcher/public/legacy.ts @@ -11,7 +11,6 @@ import { i18n } from '@kbn/i18n'; import { npSetup, npStart } from 'ui/new_platform'; import routes from 'ui/routes'; import { management, MANAGEMENT_BREADCRUMB } from 'ui/management'; -// @ts-ignore import { TimeBuckets } from 'ui/time_buckets'; // @ts-ignore import { xpackInfo } from 'plugins/xpack_main/services/xpack_info';