UNPKG

objectypes

Version:

A type-safe library to transform and validate objects

4 lines (3 loc) 285 B
import { ClassConstructor, Hashable } from '..'; import { PropertyMetadata } from '../types'; export declare function applyReductionsToObject<T>(targetClass: ClassConstructor<Hashable & T>, targetObject: Hashable & T, jsonObject: Hashable, { propertyKey }: PropertyMetadata): boolean;