From 9c0073b4677baad31e158569dd6847d12cceab42 Mon Sep 17 00:00:00 2001 From: productdevbook Date: Sat, 4 Nov 2023 14:40:07 +0300 Subject: [PATCH] chore: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1ae116..6665c89 100644 --- a/README.md +++ b/README.md @@ -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) ```