Type Alias TransformerFunction<This>

TransformerFunction<This>: ((value: any, targetInstance: This) => any)

TransformerFunction is a function that takes as arguments the current value of the property as well as an instance of the class the decorated property belongs in, and returns a transformed value.

Type Parameters

  • This