UNPKG

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.

17 lines (16 loc) 553 B
import { DependencyContainer, InjectionToken } from 'tsyringe'; import { StateType } from '../reactivity'; type ResolutionParams = { token: InjectionToken; instance: any; container: DependencyContainer; }; export type Configuration = { readonlyProxiesForView: boolean; defaultStateReactiveLevel: Exclude<StateType, 'default'>; devtools?: boolean; afterResolve?(params: ResolutionParams): any; }; export declare const config: Configuration; export declare function configure(options: Partial<Configuration>): void; export {};