Skip to content

Commit

Permalink
fix(types): useClient returns Array (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubinovitz authored Nov 25, 2020
1 parent 56ab426 commit 0d4c894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ export function useQuery(query: object | string, ...args: any): [Array<Entity>];
* client.dbToString()
* client.dbToDatoms()
*/
export function useClient(): homebaseClient;
export function useClient(): [homebaseClient];

0 comments on commit 0d4c894

Please sign in to comment.