UNPKG

typescript-object-helper

Version:

A simple dependency to aid in mapping and instantiating typescript classes

11 lines (10 loc) 359 B
export declare const DNAME: string; /** * This is a decorator to add to model attributes we want to keep typing for after transpile for * nested/ deep objects and arrays * Example: * * @ClassCast(Employee) * public employee: Employee = undefined; */ export declare function ClassCast(cast: any): (target: any, classPropertyName: string) => void;