reactant-di
Version:
A dependency injection lib for Reactant
9 lines • 770 B
TypeScript
import { MetadataMap, Module, ServiceIdentifier, MetaDataKey, ModuleOptions } from './interfaces';
declare const getMetadata: (metaKey: MetaDataKey) => MetadataMap;
declare const setMetadata: (metaKey: MetaDataKey, target: Module<any>, serviceIdentifier?: ServiceIdentifier<any>) => void;
declare const getModulesDeps: () => ModuleOptions[];
declare const setModulesDeps: (deps: ModuleOptions[]) => void;
declare const lookupServiceIdentifier: (target: object, original: ServiceIdentifier<any>, index?: number) => any;
declare const lookupOptionalIdentifier: (serviceIdentifier: ServiceIdentifier<any>) => boolean;
export { setMetadata, getMetadata, getModulesDeps, setModulesDeps, lookupServiceIdentifier, lookupOptionalIdentifier, };
//# sourceMappingURL=util.d.ts.map