Skip to content

Commit

Permalink
export empty plugin start to make it consistent
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am committed Aug 30, 2023
1 parent bad97e2 commit e674738
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/plugins/management_overview/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ export interface ManagementOverViewPluginSetup {
export interface ManagementOverViewPluginStart {}

/** @public */
export class ManagementOverViewPlugin implements Plugin<ManagementOverViewPluginSetup, void> {
export class ManagementOverViewPlugin
implements Plugin<ManagementOverViewPluginSetup, ManagementOverViewPluginStart> {
private readonly overviewApps = new Map<string, OverviewApp>();

private getSortedOverviewApps(): OverviewApp[] {
Expand Down Expand Up @@ -86,5 +87,7 @@ export class ManagementOverViewPlugin implements Plugin<ManagementOverViewPlugin
};
}

public start(core: CoreStart): void {}
public start(core: CoreStart): ManagementOverViewPluginStart {
return {};
}
}

0 comments on commit e674738

Please sign in to comment.