aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx9
1 files changed, 4 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx b/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx
index 6266c18322c..2ac7e78287d 100644
--- a/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx
+++ b/server/sonar-web/src/main/js/apps/issues/components/IssuesSourceViewer.tsx
@@ -19,18 +19,17 @@
*/
import * as React from 'react';
import { getLocations, getSelectedLocation } from '../utils';
-import { BranchLike, Issue } from '../../../app/types';
import SourceViewer from '../../../components/SourceViewer/SourceViewer';
import { scrollToElement } from '../../../helpers/scrolling';
interface Props {
- branchLike: BranchLike | undefined;
- loadIssues: (component: string, from: number, to: number) => Promise<Issue[]>;
+ branchLike: T.BranchLike | undefined;
+ loadIssues: (component: string, from: number, to: number) => Promise<T.Issue[]>;
locationsNavigator: boolean;
- onIssueChange: (issue: Issue) => void;
+ onIssueChange: (issue: T.Issue) => void;
onIssueSelect: (issueKey: string) => void;
onLocationSelect: (index: number) => void;
- openIssue: Issue;
+ openIssue: T.Issue;
selectedFlowIndex: number | undefined;
selectedLocationIndex: number | undefined;
}