CreateDecoratorOptions
interface CreateDecoratorOptions<TParam = any, TTransformed = TParam> {
key?: string
transform?: (value: TParam) => TTransformed
}
Properties
| Property | Description |
|---|---|
key?: string
|
The key for the metadata. |
transform?: (value: TParam) => TTransformed
|
The transform function to apply to the metadata value. |