approvals
Version:
Approval Tests Library - Capturing Human Intelligence
15 lines (14 loc) • 411 B
TypeScript
export declare abstract class Wrapper<Type> {
abstract get(): Type;
}
export declare class SingleWrapper<Type> extends Wrapper<Type> {
protected instance: Type;
constructor(instance: Type);
get(): Type;
}
export declare class ThreadedWrapper<Type> extends Wrapper<Type> {
protected local: Type;
protected generator: () => Type;
constructor(generator: () => Type);
get(): Type;
}