We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b8508e commit cfa1087Copy full SHA for cfa1087
src/connection/arrayConnection.ts
@@ -101,7 +101,9 @@ export function connectionFromArraySlice<T>(
101
return {
102
edges,
103
pageInfo: {
104
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
105
startCursor: firstEdge ? firstEdge.cursor : null,
106
107
endCursor: lastEdge ? lastEdge.cursor : null,
108
hasPreviousPage:
109
typeof last === 'number' ? startOffset > lowerBound : false,
0 commit comments