impair
Version:
A framework for building React applications with OOP principles and a layered architecture.
12 lines (11 loc) • 381 B
TypeScript
import { Dictionary, Dispose } from '../types';
export declare function trigger(target: any, propertyKey: string): any;
export declare namespace trigger {
var async: (target: any, propertyKey: string) => any;
}
type InitParams = {
instance: Dictionary;
disposers: Dispose[];
};
export declare function initTrigger({ instance, disposers }: InitParams): void;
export {};