UNPKG

class-transformer

Version:

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

8 lines (7 loc) 288 B
import { ClassTransformOptions } from '../interfaces'; /** * Return the class instance only with the exposed properties. * * Can be applied to functions and getters/setters only. */ export declare function TransformInstanceToInstance(params?: ClassTransformOptions): MethodDecorator;