A factory function: call it (optionally with options) to get an instance.
| 33 | |
| 34 | /** A factory function: call it (optionally with options) to get an instance. */ |
| 35 | interface FactoryFunction<I, O = object> { |
| 36 | (options?: O, ...args: any[]): I; |
| 37 | } |
| 38 | |
| 39 | /** The context object passed as the 2nd argument to every initializer. */ |
| 40 | interface InitializerContext<I> { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…