Skip to content

Commit 332b269

Browse files
Apply suggestions from code review
Co-authored-by: Junhao Liao <junhao@junhao.ca>
1 parent 6b50912 commit 332b269

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/typings/query.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
const QUERY_PROGRESS_VALUE_MIN = 0;
2-
const QUERY_PROGRESS_VALUE_MAX = 1;
3-
41
interface QueryArgs {
52
queryString: string;
63
isCaseSensitive: boolean;
@@ -17,12 +14,15 @@ interface QueryResultsType {
1714

1815
type QueryResults = Map<number, QueryResultsType[]>;
1916

20-
export {
21-
QUERY_PROGRESS_VALUE_MAX,
22-
QUERY_PROGRESS_VALUE_MIN,
23-
};
17+
const QUERY_PROGRESS_VALUE_MIN = 0;
18+
const QUERY_PROGRESS_VALUE_MAX = 1;
19+
2420
export type {
2521
QueryArgs,
2622
QueryResults,
2723
QueryResultsType,
2824
};
25+
export {
26+
QUERY_PROGRESS_VALUE_MAX,
27+
QUERY_PROGRESS_VALUE_MIN,
28+
};

0 commit comments

Comments
 (0)