UNPKG

objectypes

Version:

A type-safe library to transform and validate objects

4 lines (3 loc) 249 B
import { ClassConstructor, Hashable } from '..'; import { PropertyMetadata } from '../types'; export declare function applyTransformationsToObject<T>(targetClass: ClassConstructor<Hashable & T>, { propertyKey }: PropertyMetadata, value?: any): any;