From 50f966f9f409409afc8b317c468acd5649477f2d Mon Sep 17 00:00:00 2001 From: JB Rubinovitz Date: Tue, 15 Dec 2020 21:28:32 -0800 Subject: [PATCH] fix(types): more specific HomebaseProvider type declaration re #45 --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 36cf47ea..a994da69 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -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.