mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 12:34:10 +03:00
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:
parent
4b34e7bf1e
commit
8b52f06326
@ -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>(
|
||||
|
@ -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>(
|
||||
|
Loading…
Reference in New Issue
Block a user