@adyen/kyc-components
Version:
`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar
10 lines (9 loc) • 401 B
TypeScript
import type { UseQueryOptions } from '@tanstack/react-query';
type MandatoryArgs = 'queryKey' | 'queryFn';
/**
* useQuery params we do NOT want in our options.
* <ResponseType> is the type of the Response received,
* provide the generic to QueryOptions and nowhere else, it will be infered
*/
export type QueryOptions<ResponseType> = Omit<UseQueryOptions<ResponseType>, MandatoryArgs>;
export {};