UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

6 lines (5 loc) 189 B
export type DynamicImportType<T, MightNotExist extends boolean = true> = MightNotExist extends true ? (() => Promise<{ default: T; }>) | undefined : () => Promise<{ default: T; }>;