> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# Expose

> 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.

> **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`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.