react-obsidian
Version:
Dependency injection framework for React and React Native applications
6 lines • 339 B
TypeScript
import { ObjectGraph } from './ObjectGraph';
import { Constructable, ServiceLocator as ServiceLocatorType } from '../types';
export default class ServiceLocatorFactory {
static fromGraph<T extends ObjectGraph<P>, P = any>(Graph: Constructable<T>, props?: P): ServiceLocatorType<T>;
}
//# sourceMappingURL=ServiceLocatorFactory.d.ts.map