Skip to main content
Expose(options?): PropertyDecorator & ClassDecorator
Defined in: node_modules/.pnpm/class-transformer@0.5.1/node_modules/class-transformer/types/decorators/expose.decorator.d.ts:9 Marks the given class or property as included. By default the property is included in both constructorToPlain and plainToConstructor transformations. It can be limited to only one direction via using the toPlainOnly or toClassOnly option. Can be applied to class definitions and properties.

Parameters

options?

ExposeOptions

Returns

PropertyDecorator & ClassDecorator