@triviality/core
Version:
Purely typed service container
14 lines (13 loc) • 490 B
TypeScript
import type { ServiceFunctionReferenceContainerInterface } from '../Container/ServiceFunctionReferenceContainerInterface';
import type { invokeFeatureFactory } from '../invokeFeatureFactory';
/**
* Context for the context, not exposed to the outside world.
*
* All dependencies for all nested context functions.
*
* TODO: change naming?
*/
export interface InternalContextContext {
container: ServiceFunctionReferenceContainerInterface;
invoke: typeof invokeFeatureFactory;
}