There was an error while loading. Please reload this page.
1 parent a2315ca commit 6b9e0d7Copy full SHA for 6b9e0d7
1 file changed
src/app/api/issues/route.ts
@@ -12,7 +12,10 @@ interface GitHubSearchResponse {
12
error?: string;
13
}
14
15
-const searchIssues: (q: string) => Promise<GitHubSearchResponse> = rawSearchIssues;
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
16
+type SearchIssuesFn = (_query: string) => Promise<GitHubSearchResponse>;
17
+/*const searchIssues = rawSearchIssues as searchIssues;*/
18
+const searchIssues = rawSearchIssues as SearchIssuesFn;
19
20
export async function GET(req: Request) {
21
const { searchParams } = new URL(req.url);
0 commit comments