From f2f583d3bf0acc6c2d48dcfb25e6f3a9796234d8 Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Tue, 1 Jun 2021 07:56:49 -0700 Subject: [PATCH] Remove default generic from router type def. --- x-pack/plugins/cross_cluster_replication/server/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/cross_cluster_replication/server/types.ts b/x-pack/plugins/cross_cluster_replication/server/types.ts index 8d7d86c735859a..18d2c45039eba9 100644 --- a/x-pack/plugins/cross_cluster_replication/server/types.ts +++ b/x-pack/plugins/cross_cluster_replication/server/types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { IRouter, RequestHandlerContext } from 'src/core/server'; +import { IRouter } from 'src/core/server'; import { PluginSetupContract as FeaturesPluginSetup } from '../../features/server'; import { LicensingPluginSetup, LicensingPluginStart } from '../../licensing/server'; import { IndexManagementPluginSetup } from '../../index_management/server'; @@ -24,7 +24,7 @@ export interface StartDependencies { } export interface RouteDependencies { - router: IRouter; + router: IRouter; license: License; lib: { handleEsError: typeof handleEsError;