UNPKG

@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

12 lines (11 loc) 386 B
import type { MappingRecord } from '../mapping/mappingRecord'; /** * Reverses a {@link MappingRecord}. * * @example * ```ts * const mapping = {a:1, b:2,c:3}; * reverseMapping(mapping); => {1:'a', 2: 'b', 3: 'c'} * ``` */ export declare function reverseMapping<Source extends object, Target extends object>(mapping: MappingRecord<Source, Target>): MappingRecord<Target, Source>;