We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 563720b commit 18d7c89Copy full SHA for 18d7c89
1 file changed
extensions/ql-vscode/src/pure/variant-analysis-filter-sort.ts
@@ -79,6 +79,11 @@ export function compareRepository(
79
}
80
81
type FilterAndSortableResult = {
82
+ repository: SortableRepository;
83
+ resultCount?: number;
84
+};
85
+
86
+type FilterAndSortableResultWithIds = {
87
repository: SortableRepository & Pick<Repository, "id">;
88
resultCount?: number;
89
};
@@ -117,7 +122,7 @@ export function filterAndSortRepositoriesWithResultsByName<
117
122
118
123
119
124
export function filterAndSortRepositoriesWithResults<
120
- T extends FilterAndSortableResult,
125
+ T extends FilterAndSortableResultWithIds,
121
126
>(
127
repositories: T[] | undefined,
128
filterSortState: RepositoriesFilterSortStateWithIds | undefined,
0 commit comments