UNPKG

class-transformer

Version:

Proper decorator-based transformation / serialization / deserialization of plain javascript objects to class constructors

8 lines (7 loc) 318 B
import { ClassTransformOptions } from '../interfaces'; /** * Transform the object from class to plain object and return only with the exposed properties. * * Can be applied to functions and getters/setters only. */ export declare function TransformInstanceToPlain(params?: ClassTransformOptions): MethodDecorator;