Skip to main content
Transform(transformFn, options?): PropertyDecorator
Defined in: node_modules/.pnpm/class-transformer@0.5.1/node_modules/class-transformer/types/decorators/transform.decorator.d.ts:7 Defines a custom logic for value transformation. Can be applied to properties only.

Parameters

transformFn

(params) => any

options?

TransformOptions

Returns

PropertyDecorator