From 6fc57729be04f637434818952a6c714f69b62658 Mon Sep 17 00:00:00 2001 From: Josh Dover <1813008+joshdover@users.noreply.github.com> Date: Wed, 23 Jun 2021 18:17:27 +0200 Subject: [PATCH] Fix type from rename --- x-pack/plugins/cloud/public/plugin.test.ts | 3 +-- x-pack/plugins/cloud/public/plugin.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/x-pack/plugins/cloud/public/plugin.test.ts b/x-pack/plugins/cloud/public/plugin.test.ts index f9cf6ebc3fbe7..7b80bc50b7896 100644 --- a/x-pack/plugins/cloud/public/plugin.test.ts +++ b/x-pack/plugins/cloud/public/plugin.test.ts @@ -10,8 +10,7 @@ import { coreMock } from 'src/core/public/mocks'; import { homePluginMock } from 'src/plugins/home/public/mocks'; import { securityMock } from '../../security/public/mocks'; import { initializeFullStoryMock } from './plugin.test.mocks'; -import { CloudPlugin, loadFullStoryUserId } from './plugin'; -import { CloudConfigType } from '../common/config'; +import { CloudPlugin, CloudConfigType, loadFullStoryUserId } from './plugin'; describe('Cloud Plugin', () => { describe('#setup', () => { diff --git a/x-pack/plugins/cloud/public/plugin.ts b/x-pack/plugins/cloud/public/plugin.ts index fd7a513ec627b..283c1bf8829a4 100644 --- a/x-pack/plugins/cloud/public/plugin.ts +++ b/x-pack/plugins/cloud/public/plugin.ts @@ -60,11 +60,11 @@ export interface CloudSetup { } export class CloudPlugin implements Plugin { - private config!: CloudConfigTypePublic; + private config!: CloudConfigType; private isCloudEnabled: boolean; constructor(private readonly initializerContext: PluginInitializerContext) { - this.config = this.initializerContext.config.get(); + this.config = this.initializerContext.config.get(); this.isCloudEnabled = false; }