We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
options
@Transform
1 parent 7ecae60 commit 0d42970Copy full SHA for 0d42970
README.md
@@ -759,14 +759,15 @@ it will convert a date value in your photo object to moment date.
759
The `@Transform` decorator is given more arguments to let you configure how you want the transformation to be done.
760
761
```
762
-@Transform((value, obj, type) => value)
+@Transform((value, obj, type, options) => value)
763
764
765
| Argument | Description
766
|--------------------|---------------------------------------------------------------------------------|
767
| `value` | The property value before the transformation.
768
| `obj` | The transformation source object.
769
| `type` | The transformation type.
770
+| `options` | The options given to the input transformation method.
771
772
## Other decorators
773
| Signature | Example | Description
0 commit comments