A record of transformation functions that maps an existing key and value to a new key and value.
The existing value is passed as the parameter to the transformation function.
Type declaration
(value): [string, unknown]
Parameters
value: unknown
Returns [string, unknown]
Example
// Defines a single transformation to map an object of type { foo: any } to { bar: "something" } constpropertyMappingConfig = { foo: (_foosValue) => ["bar", "something"], };
A record of transformation functions that maps an existing key and value to a new key and value. The existing value is passed as the parameter to the transformation function.