Skip to content

Commit

Permalink
Remove default generic from router type def.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Jun 1, 2021
1 parent 7882b5f commit f2f583d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/cross_cluster_replication/server/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -24,7 +24,7 @@ export interface StartDependencies {
}

export interface RouteDependencies {
router: IRouter<RequestHandlerContext>;
router: IRouter;
license: License;
lib: {
handleEsError: typeof handleEsError;
Expand Down

0 comments on commit f2f583d

Please sign in to comment.