From 756e65c6967003087dc1b42f8c294dfafa7cfb0e Mon Sep 17 00:00:00 2001 From: Shivam Dhar Date: Fri, 27 May 2022 16:50:21 -0700 Subject: [PATCH] adds type to http and notifications Signed-off-by: Shivam Dhar --- src/plugins/region_map/public/plugin.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/region_map/public/plugin.ts b/src/plugins/region_map/public/plugin.ts index b4daa7b6ebf1..4bfa410d01c9 100644 --- a/src/plugins/region_map/public/plugin.ts +++ b/src/plugins/region_map/public/plugin.ts @@ -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; @@ -91,7 +91,7 @@ export interface RegionMapsConfig { export interface RegionMapPluginSetup { config: any; - addOptionsTab: (options: AddImportMapTab) => void; + addOptionTab: (options: AddImportMapTab) => void; } export interface AddImportMapTab { @@ -141,7 +141,7 @@ export class RegionMapPlugin implements Plugin + addOptionTab: (importMapTabConfig: AddImportMapTab) => this.additionalOptions.push(importMapTabConfig), }; }