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.

14 lines (13 loc) 549 B
import { Dictionary, Dispose } from '../types'; /** * This decorator is used to mark a property as a derived property. It will automatically * create a computed property that will be updated when the reactive dependencies change. * The property must be a getter function. */ export declare function derived(target: any, propertyKey: string, descriptor: PropertyDescriptor): any; type InitParams = { instance: Dictionary; disposers: Dispose[]; }; export declare function initDerived({ disposers, instance }: InitParams): void; export {};