Skip to content
AutoMapper TypeScript
Esc
navigateopen⌘Jpreview
On this page

Function: mapWithArguments()

Function: mapWithArguments() API reference from @automapper/core.

@automapper/core


mapWithArguments<TSource, TDestination, TSelectorReturn>(withArgumentsResolver): MapWithArgumentsReturn<TSource, TDestination, TSelectorReturn>

Defined in: packages/core/src/lib/member-map-functions/map-with-arguments.ts:11

Type Parameters

TSource

TSource extends Dictionary<TSource>

TDestination

TDestination extends Dictionary<TDestination>

TSelectorReturn

TSelectorReturn = unknown

Parameters

withArgumentsResolver

Resolver<TSource, Record<string, unknown>, TSelectorReturn> | ((source, extraArguments) => MaybePromise<TSelectorReturn>)

Returns

MapWithArgumentsReturn<TSource, TDestination, TSelectorReturn>

Was this page helpful?