UNPKG

458 BTypeScriptView Raw
1import { ExposeOptions } from '../interfaces';
2/**
3 * Marks the given class or property as included. By default the property is included in both
4 * constructorToPlain and plainToConstructor transformations. It can be limited to only one direction
5 * via using the `toPlainOnly` or `toClassOnly` option.
6 *
7 * Can be applied to class definitions and properties.
8 */
9export declare function Expose(options?: ExposeOptions): PropertyDecorator & ClassDecorator;