any type
Type alias for simple transformations functions.
A transformation takes a Value if type A and return a value of type B.
// All the following are valid transformations
const f1: Transformation = (a: number): string => a.toString()
const f2: Transformation = (a: number): number => a + 2
const f3: Transformation = (_a: string): object => ({color: 'red'})
Generated using TypeDoc
any type