redux-providers
Version:
Minimalist dependency injection system for redux. Create providers to be injected and used in redux reducers.
6 lines • 446 B
TypeScript
import { Constructable } from "../types/constructable";
export declare function getInjectorDecorators(moduleTarget: Constructable<any>): {
InjectProp: (providerIdentifier: string | Constructable<any>) => (target: any, propertyKey: string) => void;
InjectParam: (providerIdentifier: string | Constructable<any>) => (target: any, propertyKey: string | symbol, parameterIndex: number) => void;
};
//# sourceMappingURL=createInjector.d.ts.map