UNPKG

@graphity/mapper

Version:

Decorator-based transformer of plain object to class constructors for Javascript(& Typescript).

5 lines (4 loc) 231 B
export declare type Factory<T> = ((type: any) => T); export declare type ConstructType<T> = (new (...args: any[]) => T) | Function; export declare type MaybeArray<T> = T | T[]; export declare type MaybeFactory<T> = T | Factory<T>;