redux-providers
Version:
Minimalist dependency injection system for redux. Create providers to be injected and used in redux reducers.
5 lines • 565 B
TypeScript
import { Constructable } from "../../types/constructable";
import { InstanceContainer } from "../../container/instance-container";
export declare function makePropertyInjectorDecorator(container: InstanceContainer): (providerIdentifier: string | Constructable<any>) => (target: any, propertyKey: string) => void;
export declare function makeParameterInjectorDecorator(container: InstanceContainer): (providerIdentifier: string | Constructable<any>) => (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
//# sourceMappingURL=inject.d.ts.map