UNPKG

530 BTypeScriptView Raw
1import { ExposeOptions } from '..';
2/**
3 * This object represents metadata assigned to a property via the @Expose decorator.
4 */
5export interface ExposeMetadata {
6 target: Function;
7 /**
8 * The property name this metadata belongs to on the target (class or property).
9 *
10 * Note: If the decorator is applied to a class the propertyName will be undefined.
11 */
12 propertyName: string | undefined;
13 /**
14 * Options passed to the @Expose operator for this property.
15 */
16 options: ExposeOptions;
17}