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';