Skip to content
Snippets Groups Projects
Commit dc6c44e3 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

feat: add declaration to withClient to avoid error

parent b54f6ede
No related branches found
No related tags found
2 merge requests!61Dev,!59Features/feaadbacks form
......@@ -62,7 +62,7 @@ export function queryConnect<C extends React.ElementType>(
): (wrappedElement: C) => void
export function withClient<C extends React.ElementType>(
component: React.ComponentPropsWithoutRef<C>
component: React.ComponentPropsWithoutRef<C> | React.FC<>
): (wrappedElement: C) => void
export type QueryState<D> = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment