Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Nov 4, 2023
1 parent 965290b commit 9c0073b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ resolveCursorConnection(
```ts
import { resolveArrayConnection } from 'ts-relay-cursor-paging'

const numbers: BatchLoadableNumberThing[] = []
const numbers: { id: number }[] = []

for (let i = 0; i < 200; i += 1)
numbers.push(new BatchLoadableNumberThing(i))
numbers.push({ id: i + 1 })

resolveArrayConnection({ args }, numbers)
```
Expand Down

0 comments on commit 9c0073b

Please sign in to comment.