diff --git a/framework/commerce/utils/use-data.tsx b/framework/commerce/utils/use-data.tsx index 43db9b534..9224b612c 100644 --- a/framework/commerce/utils/use-data.tsx +++ b/framework/commerce/utils/use-data.tsx @@ -14,11 +14,7 @@ export type ResponseState = responseInterface & { isLoading: boolean } -export type UseData = < - Data = any, - Input extends { [k: string]: unknown } = {}, - FetchInput extends HookFetchInput = {} ->( +export type UseData = ( options: { fetchOptions: HookFetcherOptions fetcher: HookFetcherFn