fixed eslint build issue (#4842)

**Fixed the following build issue:**

```
./src/app/contributors/api/fetch-issues-prs.tsx
12:3  Error: Type boolean trivially inferred from a boolean literal, remove type annotation.  @typescript-eslint/no-inferrable-types

./src/app/contributors/api/search-issues-prs.tsx
12:3  Error: Type boolean trivially inferred from a boolean literal, remove type annotation.  @typescript-eslint/no-inferrable-types
```

Co-authored-by: Ady Beraud <a.beraud96@gmail.com>
This commit is contained in:
Ady Beraud 2024-04-05 15:45:54 +02:00 committed by GitHub
parent 4b34e7bf1e
commit 8b52f06326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import {
export async function fetchIssuesPRs(
query: typeof graphql,
cursor: string | null = null,
isIssues: boolean = false,
isIssues = false,
accumulatedData: Array<PullRequestNode | IssueNode> = [],
): Promise<Array<PullRequestNode | IssueNode>> {
const { repository } = await query<Repository>(

View File

@ -9,7 +9,7 @@ import {
export async function searchIssuesPRs(
query: typeof graphql,
cursor: string | null = null,
isIssues: boolean = false,
isIssues = false,
accumulatedData: Array<PullRequestNode | IssueNode> = [],
): Promise<Array<PullRequestNode | IssueNode>> {
const { search } = await query<SearchIssuesPRsQuery>(