UNPKG

@atomist/automation-client

Version:
11 lines 345 B
export declare type Factory<T> = () => T; export interface Constructor<T> { new (): T; } /** * A no-arg constructor or a no-arg function that can create * type T */ export declare type Maker<T> = Factory<T> | Constructor<T>; export declare function toFactory<T>(fact: Maker<T>): Factory<T>; //# sourceMappingURL=constructionUtils.d.ts.map