Skip to content

Commit

Permalink
adds type to http and notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Dhar <[email protected]>
  • Loading branch information
Shivamdhar committed May 27, 2022
1 parent 6a26994 commit 756e65c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plugins/region_map/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ import { SharePluginStart } from '../../share/public';

/** @private */
export interface RegionMapVisualizationDependencies {
http: any;
notifications: any;
http: CoreStart['http'];
notifications: CoreStart['notifications'];
uiSettings: IUiSettingsClient;
regionmapsConfig: RegionMapsConfig;
getServiceSettings: () => Promise<IServiceSettings>;
Expand Down Expand Up @@ -91,7 +91,7 @@ export interface RegionMapsConfig {

export interface RegionMapPluginSetup {
config: any;
addOptionsTab: (options: AddImportMapTab) => void;
addOptionTab: (options: AddImportMapTab) => void;
}

export interface AddImportMapTab {
Expand Down Expand Up @@ -141,7 +141,7 @@ export class RegionMapPlugin implements Plugin<RegionMapPluginSetup, RegionMapPl

return {
config,
addOptionsTab: (importMapTabConfig: AddImportMapTab) =>
addOptionTab: (importMapTabConfig: AddImportMapTab) =>
this.additionalOptions.push(importMapTabConfig),
};
}
Expand Down

0 comments on commit 756e65c

Please sign in to comment.