Skip to content

Commit

Permalink
fix: fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernxst committed Jun 22, 2024
1 parent 9184887 commit 2a67dd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export type QueryHelpers<TShape extends Record<string, unknown>> = {
/** Manually unset unregister all event listeners */
unsubscribe(): void;
/** Return the query keys. Unlike {@linkcode Object.keys}, this is type-safe */
keys(): IterableIterator<keyof TShape>;
entries(): IterableIterator<[keyof TShape, TShape[keyof TShape]]>;
keys(): Array<keyof TShape>;
entries(): Array<[keyof TShape, TShape[keyof TShape]]>;
};

export type QueryHook<TShape extends Record<string, unknown>> = [
Expand Down

0 comments on commit 2a67dd5

Please sign in to comment.