impair
Version:
impair is a React framework bringing several programming concepts together in order to provide a foundation for a layered, scalable, performant and enterprise level react application.
5 lines (4 loc) • 334 B
TypeScript
import { Constructor, ProviderProps } from '../types';
import { InjectionToken } from 'tsyringe';
export declare function provide(registrations: ProviderProps<any>['provide']): <T extends Constructor>(target: T) => void;
export declare function getDecoratedProviders<T extends InjectionToken>(service: T, includeSelf?: boolean): any;