1 | export interface FactoryDefinition<T> {
|
2 | create(injections?: object): T;
|
3 | teardown?(instance: object): void;
|
4 | }
|
5 | export interface Factory<T> {
|
6 | class: FactoryDefinition<T>;
|
7 | create(injections?: object): T;
|
8 | teardown(instance: any): void;
|
9 | }
|