mana-syringe
Version:
IoC library for mana, easily to use.
16 lines • 442 B
TypeScript
import { Syringe } from '../core';
export declare type Option = {
/**
* collected from the parent containers
*/
recursive?: boolean;
/**
* use cache
*/
cache?: boolean;
};
export declare type Provider<T extends Record<string, any>> = {
getContributions: (option?: Option) => T[];
};
export declare const Provider: Syringe.DefinedToken;
//# sourceMappingURL=contribution-protocol.d.ts.map