UNPKG

345 BTypeScriptView Raw
1export declare type Factory<T> = () => T;
2export interface Constructor<T> {
3 new (): T;
4}
5/**
6 * A no-arg constructor or a no-arg function that can create
7 * type T
8 */
9export declare type Maker<T> = Factory<T> | Constructor<T>;
10export declare function toFactory<T>(fact: Maker<T>): Factory<T>;
11//# sourceMappingURL=constructionUtils.d.ts.map
\No newline at end of file