Skip to content

Commit

Permalink
Fix type from rename
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Jun 23, 2021
1 parent 85d5fa8 commit 6fc5772
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions x-pack/plugins/cloud/public/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/cloud/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ export interface CloudSetup {
}

export class CloudPlugin implements Plugin<CloudSetup> {
private config!: CloudConfigTypePublic;
private config!: CloudConfigType;
private isCloudEnabled: boolean;

constructor(private readonly initializerContext: PluginInitializerContext) {
this.config = this.initializerContext.config.get<CloudConfigTypePublic>();
this.config = this.initializerContext.config.get<CloudConfigType>();
this.isCloudEnabled = false;
}

Expand Down

0 comments on commit 6fc5772

Please sign in to comment.