@atomist/automation-client
Version:
Atomist API for software low-level client
11 lines • 345 B
TypeScript
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