Skip to content

Commit

Permalink
Fix wrong type
Browse files Browse the repository at this point in the history
  • Loading branch information
bimusiek committed Jul 29, 2024
1 parent eb23d47 commit 875f9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/realm-react/src/useQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export type QueryHookOptions<T> = QueryHookPartialOptions<T> & {

export type UseQueryHook = {
<T>(options: QueryHookOptions<T>, deps?: DependencyList): Realm.Results<T & Realm.Object<T>>;
<T extends AnyRealmObject>(options: QueryHookPartialOptions<T>, deps?: DependencyList): Realm.Results<T>;
<T extends AnyRealmObject>(options: QueryHookOptions<T>, deps?: DependencyList): Realm.Results<T>;
<T>(type: string): Realm.Results<T & Realm.Object<T>>;
<T extends AnyRealmObject>(type: RealmClassType<T>): Realm.Results<T>;
<T extends AnyRealmObject>(
Expand Down

0 comments on commit 875f9e7

Please sign in to comment.