Skip to content

Commit

Permalink
fix(types): more specific HomebaseProvider type declaration
Browse files Browse the repository at this point in the history
re #45
  • Loading branch information
rubinovitz committed Dec 16, 2020
1 parent 4092def commit 50f966f
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 @@ -94,7 +94,7 @@ export type homebaseClient = {
* @param props.config - an object with optional schema and initialData parameters.
* @param props.children - children elements
*/
export function HomebaseProvider(props: {config?:config, children:any}): any;
export function HomebaseProvider(props: {config?:config, children:React.ReactNode}): React.ReactElement;

/**
* React hook to transact data to the local homebase database.
Expand Down

0 comments on commit 50f966f

Please sign in to comment.