UNPKG

objectypes

Version:

A type-safe library to transform and validate objects

3 lines (2 loc) 164 B
import { Hashable, ClassConstructor } from './types'; export declare function buildObject<T>(targetClass: ClassConstructor<Hashable & T>, jsonObject: Hashable): T;