From 2a67dd58b8acf263420502d8b3ca95843c2e2df7 Mon Sep 17 00:00:00 2001 From: Ernest Badu Date: Sat, 22 Jun 2024 13:22:24 +0100 Subject: [PATCH] fix: fix type errors --- packages/core/src/lib/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/lib/types.ts b/packages/core/src/lib/types.ts index 92fa284..3f88a88 100644 --- a/packages/core/src/lib/types.ts +++ b/packages/core/src/lib/types.ts @@ -120,8 +120,8 @@ export type QueryHelpers> = { /** Manually unset unregister all event listeners */ unsubscribe(): void; /** Return the query keys. Unlike {@linkcode Object.keys}, this is type-safe */ - keys(): IterableIterator; - entries(): IterableIterator<[keyof TShape, TShape[keyof TShape]]>; + keys(): Array; + entries(): Array<[keyof TShape, TShape[keyof TShape]]>; }; export type QueryHook> = [