aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/hoc/withRouter.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/components/hoc/withRouter.tsx')
-rw-r--r--server/sonar-web/src/main/js/components/hoc/withRouter.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/components/hoc/withRouter.tsx b/server/sonar-web/src/main/js/components/hoc/withRouter.tsx
index ed03762fddc..7d06624bfa0 100644
--- a/server/sonar-web/src/main/js/components/hoc/withRouter.tsx
+++ b/server/sonar-web/src/main/js/components/hoc/withRouter.tsx
@@ -30,6 +30,6 @@ interface InjectedProps {
export function withRouter<P extends InjectedProps>(
WrappedComponent: React.ComponentType<P & InjectedProps>
-): React.ComponentType<T.Omit<P, keyof InjectedProps>> {
+): React.ComponentType<Omit<P, keyof InjectedProps>> {
return originalWithRouter(WrappedComponent as any);
}